Howdy All,

Here's my problem. I would like a survey-popup when a user leaves a web site. I understand that the "OnExit" event triggers each time the current page is unloaded or when a browser closed.

However, I only wish for the pop-up to appear when the visitor leaves the site. I have heard previous suggestions of using a frame, are there any other ways to do this?

And, just incase you are wondering...no, we are not going to launch 100s of pop-ups to prevent the visitors from leaving. That's plain evil. We will present them with a questionaire on why they have left, and how to improve the web site.

Thanks For Your Help!