PDA

View Full Version : Stop the users if they exit the page?


knguyen99
09-18-2002, 05:01 PM
Is ther a way to stop the users if they click on the "x" of the upper right hand corner?

I use the onunload="alert('they are leaving')" function, put on the body tag:

<body onunLoad="stop it">

How do I stop them if they select some other link?

A1ien51
09-18-2002, 05:07 PM
It is almost impossible from stopping people from leaving your site. If you explain why you do not want people to leave your site, i might give you a way to do it, but it does not work 100% due to many options from browsers