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)
-   -   Stupid J.avasci.pt question - on an onexit popunder, how do you prevent the window... (https://gfy.com/showthread.php?t=305438)

CyberTraffic 06-01-2004 01:53 PM

Stupid J.avasci.pt question - on an onexit popunder, how do you prevent the window...
 
from popping when a link is clicked ?

Is'nt it onexit="false" ?

Phoenix66 06-01-2004 02:12 PM

Use some variable, set it to false in onclick and check it before you throw the popup. Like this:

exit=true;
function closeIt()
{
if(exit)
{
throw your popup here or whatever...
}
}

<body onclose="closeIt()"...

<a onClick="exit=false" ...

CyberTraffic 06-01-2004 02:27 PM

Quote:

Originally posted by Phoenix66
Use some variable, set it to false in onclick and check it before you throw the popup. Like this:

exit=true;
function closeIt()
{
if(exit)
{
throw your popup here or whatever...
}
}

<body onclose="closeIt()"...

<a onClick="exit=false" ...

Thanks!:thumbsup


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

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