View Single Post
Old 06-01-2004, 02:27 PM  
CyberTraffic
Confirmed User
 
Join Date: Feb 2004
Location: Traffic Land ~ ICQ:213666533
Posts: 2,187
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!
CyberTraffic is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote