onUnload function, quick 200 pts...
Posted on 2001-06-18
I am trying to pop up a window (an exit page if you will) that will open when a visitor LEAVES the website. I am currently using the onUnload function, which displays my popup every time you refresh, or even go to a different page within the site. This won't work. I need to display the window (a page I have created called exit.htm) ONLY when the site is exited.
I know this can be done. (anyone who has ever stumbled upon an adult site knows what I am talking about) But, for the life of me I cannot find the right code...
This is time sensitive, which is why I am offering 200 pts. for the question..