View Single Post
Old 06-01-2004, 02:12 PM  
Phoenix66
Confirmed User
 
Join Date: Oct 2002
Posts: 823
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" ...
__________________
Adult Niche Traffic Exchange
Phoenix66 is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote