javascript - Trying to Create a Delayed Pop-up with Lightbox -


i'm trying create lightbox jquery open email collection pop-up sign newsletter. think understand how make work if clicks on link don't want visitor have click link, want pop automatically after 5 second delay when visitor lands on page seems common on many pages. non cms page. can tell me simplest way go this?

you can use settimout() :

settimeout(function(){    //this code run in 5 seconds }, 5000); 

here's fiddle alert demonstrate.


Comments

Popular posts from this blog

how to insert data php javascript mysql with multiple array session 2 -

multithreading - Exception in Application constructor -

windows - CertCreateCertificateContext returns CRYPT_E_ASN1_BADTAG / 8009310b -