javascript - open popup after 10 second of staying in the webpage -


how can open popup after visitor stay in webpage 10 seconds? want use popup - http://dinbror.dk/bpopup/ , want open after stay 10 second in webpage.

try this

    settimeout(function(){     $('element_to_pop_up').bpopup({         modalclose: false,         opacity: 0.6,         positionstyle: 'fixed' //'fixed' or 'absolute'     });     },10000); 

Comments

Popular posts from this blog

javascript - How to synchronize the Three.js and HTML/SVG coordinate systems (especially w.r.t. the y-axis)? -

javascript - How do I find how many occurences are there of a highlighted string, and which occurence is it? -

java - Reading data from multiple zip files and combining them to one -