Hi all and Good day to you all, I am telling you popunder windows work GREAT! But I need to know if anyone knows a good popunder script I can use for a timed popunder code. The one I'm using now is one that pops under on entry. The reason why I would like to have one load about 10-15 seconds on entry is because when they pop under when someone visits your site it slows your main sites loading time and if it pops under after the visitor has been there for 10-15 seconds, they might be less likely to notice that it's popped under because they would be looking at your main site. The flash always gives the hint that a window popped under though and therefore most visitors close them, especially if thier expecting one to pop under on entry or exit.
Anyway here is a great pop under code that allows you to rotate your pop under windows.
edited to encase the code - SlyCode:<script> //Pop-under window II- By JavaScript Kit //Credit notice must stay intact for use //Visit http://javascriptkit.com for this script //specify URLs to randomly select from and pop-under var popunder=new Array() popunder[0]="http://www.firstsite.com" popunder[1]="http://www.secondsite.com" popunder[2]="http://www.thirdsite.com" popunder[3]="http://www.fourthsite.com" popunder[4]="http://www.fifthsite.com" popunder[5]="http://www.sixthsite.com" //specify popunder window features //set 1 to enable a particular feature, 0 to disable var winfeatures="width=750,height=510,scrollbars=1,resizable=1,toolbar=1, location=0,menubar=0,status=0,directories=0" //Pop-under only once per browser session? (0=no, 1=yes) //Specifying 0 will cause popunder to load every time page is loaded var once_per_session=0 ///No editing beyond here required///// function get_cookie(Name) { var search = Name + "=" var returnvalue = ""; if (document.cookie.length > 0) { offset = document.cookie.indexOf(search) if (offset != -1) { // if cookie exists offset += search.length // set index of beginning of value end = document.cookie.indexOf(";", offset); // set index of end of cookie value if (end == -1) end = document.cookie.length; returnvalue=unescape(document.cookie.substring(offset, end)) } } return returnvalue; } function loadornot(){ if (get_cookie('popunder')==''){ loadpopunder() document.cookie="popunder=yes" } } function loadpopunder(){ win2=window.open(popunder[Math.floor(Math.random()*(popunder.length))],"",winfeatures) win2.blur() window.focus() } if (once_per_session==0) loadpopunder() else loadornot() </script>
The above pop under script would be perfect if you could just get it to load 10-15 seconds after entry and if it did'nt have the flash.
With Best Regards, Casinofever


LinkBack URL
About LinkBacks
Reply With Quote


