View Full Version : pop up window

09-21-2005, 12:57 PM
Hello all,

I have been asked to create a (annoying) pop up window on a site, that only is displayed after a user has left the site, by either closing the browser window or by leaving the site to go to another URL. Is this possible?

And if it is, could anyone offer advice or script on how to go about this?

Thanks guys,


09-21-2005, 02:28 PM
It is possible to try using a combo of intrasite links set up just so (so you can check if the user is leaving the site) and the window onunload event.

Most blockers catch this crap these days, though.

MSIE has a few vbscript hacks to be even more annoying, but WinXP SP2 has fixed most issues that allowed such nonsense.

I won't go into more detail than this on a public forum.