contact
11-29-2003, 02:20 PM
i had the script for this before but i lost it what it was: a pop up/under that closed after so many seconds... this is really useful when you need sponcers and your web site viewers dont want annoying pop ups
|
Click to See Complete Forum and Search --> : pop up with close function contact 11-29-2003, 02:20 PM i had the script for this before but i lost it what it was: a pop up/under that closed after so many seconds... this is really useful when you need sponcers and your web site viewers dont want annoying pop ups fredmv 11-29-2003, 02:31 PM Something like this most likely:<script type="text/javascript"> //<![CDATA[ onload = function() { var w = window.open('ad.html', '', 'height=300,width=550'), s = 5; w.blur(); setTimeout(function(){if(typeof w!="undefined")w.close();}, s*1000); } //]]> </script>Simply change ad.html to the filename of your ad and the value of the s variable to how many seconds you want to wait before the window closes (five is the default). webdeveloper.com
Copyright Internet.com Inc., All Rights Reserved. |