View Full Version : Pop up box when exiting


o0Blue0o
05-29-2006, 07:32 PM
http://www.imvu.com/catalog/web_mypage.php?user=419697
i wnat a pop up box like when ppl enter the site but instead of it poping up on entry i wnat it to pop up when they exit

i am trying find a pop up box when ppl leave my site that say (goodbye)

but i couldnt find the code on here for it can someone tell me the code to mae a pop up box for when i leave

amyaurora
05-29-2006, 09:44 PM
<SCRIPT language="JavaScript1.2">
function exitpop()
{
my_window= window.open ("",
"mywindow1","status=1,width=350,height=150");
my_window.document.write('<H1>Popup Test!</H1>');
}
</SCRIPT>

I found this at exiting page pop up script at: http://www.javascript-coder.com

o0Blue0o
05-30-2006, 04:20 AM
thank you ^_^

amyaurora
05-30-2006, 04:27 AM
You're welcome.