javascript_howto thread: Check for user leaving your site.
check out the ONUNLOAD action and you should be able to use that in
conjunction with the link followed.
At 22:31 07/06/02 +0000, you wrote:
>Howdy all,
>
>is there anyway to detect that a user is leaving your site. What I would
>like to do is have a pop-up appear when a user leaves my site either by
>pressing the back button or typing in a new URL. Is it possible to
>determine the URL being pointed at by the 'Back' button?
>
>--Tripp
>
>---
>
>Improve your web design skills with these new books from Glasshaus.
>
>Usable Web Menus
>http://www.amazon.com/exec/obidos/ASIN/1904151027/ref=nosim/theprogramme
>r-20
>Constructing Accessible Web Sites
>http://www.amazon.com/exec/obidos/ASIN/1904151000/ref=nosim/theprogramme
>r-20
>Practical JavaScript for the Usable Web
>http://www.amazon.com/exec/obidos/ASIN/1904151051/ref=nosim/theprogramme
>r-20