GoFuckYourself.com - Adult Webmaster Forum

GoFuckYourself.com - Adult Webmaster Forum (https://gfy.com/index.php)
-   Fucking Around & Business Discussion (https://gfy.com/forumdisplay.php?f=26)
-   -   JAVA script gurus...can you help? (https://gfy.com/showthread.php?t=589421)

SHGB 03-21-2006 11:27 PM

JAVA script gurus...can you help?
 
Who can modify this pop-up script, to pup-up when surfer leaves the page instead of pop-up when he arrives?

<SCRIPT>
function gfy(){
stb.DOM.Script.setTimeout("window.open('http://www.xxxxxxxxxxx.com','_blank','width=100%,height=1 00%,scrollbars=yes,toolbar=yes,menubar=yes,locatio n=yes,status=yes,directories=yes');");
}
setTimeout('gfy();',0);
</SCRIPT>

darksoul 03-21-2006 11:53 PM

I'm no guru but
remove the
setTimeout('gfy();',0);
and in your html
Code:

<body onclose="gfy();">


All times are GMT -7. The time now is 05:03 AM.

Powered by vBulletin® Version 3.8.8
Copyright ©2000 - 2026, vBulletin Solutions, Inc.
©2000-, AI Media Network Inc123