Open DuudeXX8 opened 6 years ago
Hello, I have writen the following line in the animatedModal.js
setTimeout(function(){ closeModal() }, 5000);
put it right here, in the afterOpen() function:
function afterOpen () { settings.afterOpen(id); setTimeout(function(){ closeModal() }, 5000); }
Replace afterclose() function with below code
function afterClose() {
setTimeout(function()
{
id.css({ 'z-index': settings.zIndexOut,'animation-fill-mode': settings.animationFillModeNone });
settings.afterClose(); //afterClose
}, 200);
}
I can't add any delay or setTimeout function please help.