Forum Moderators: open

Message Too Old, No Replies

Javascript Pop up

Only on domain exit - possible?

         

mrclark

10:42 pm on Sep 30, 2004 (gmt 0)

10+ Year Member



I'm wanting a popup box to appear only when a visitor has actually left my website, not just clicked to another of my internal pages.

The idea is to ask them for feedback on my site ..

So how would I go about doing this? Does it need to use cookies.

Steve

jamesa

11:22 pm on Sep 30, 2004 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



The only way I've found is to add javascript to all your internal links that disables the popup.

mrclark

3:15 pm on Oct 1, 2004 (gmt 0)

10+ Year Member



But I want the popup box to appear if they exit the site, no matter which internal page they are currently on.

Steve

jamesa

6:08 pm on Oct 1, 2004 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



right. That only stops the popup if they click on an internal link - a link that takes them to another page on your site. If they're leaving, they won't be clicking an internal link.