homepage Welcome to WebmasterWorld Guest from 54.205.59.78
register, free tools, login, search, subscribe, help, library, announcements, recent posts, open posts,
Accredited PayPal World Seller

Visit PubCon.com
Home / Forums Index / Hardware and OS Related Technologies / Website Technology Issues
Forum Library, Charter, Moderators: phranque

Website Technology Issues Forum

    
Popup window on leaving the domain?
kapow




msg:668046
 2:30 pm on Dec 6, 2001 (gmt 0)

I would like to create a pop-up window that appears when a person leaves the website.
I know that this could be done easily with a framed site but I do not wish to use frames for SEO reasons.

Can this be done with JavaScript?:

On UnLoad (if the loaded page is MyDomain.com/anything.htm) then don't popup
(else popup)

Or any other way?

 

jatar_k




msg:668047
 4:39 pm on Dec 6, 2001 (gmt 0)

one way I have seen it is putting a frame around the site and it has the on unload in its body tag so that it only pops up when they destroy the frame. I hate to use frames but this does work if you need to do it differently. The check to see if the domain has changed is, by far, a prettier and more functional answer.

Eric_Jarvis




msg:668048
 5:08 pm on Dec 6, 2001 (gmt 0)

we have one that we use when anyone uses an external link...is that the sort of thing you are looking for?

msr986




msg:668049
 5:27 pm on Dec 6, 2001 (gmt 0)

See also:

[webmasterworld.com...]

Global Options:
 top home search open messages active posts  
 

Home / Forums Index / Hardware and OS Related Technologies / Website Technology Issues
rss feed

All trademarks and copyrights held by respective owners. Member comments are owned by the poster.
Terms of Service ¦ Privacy Policy ¦ Report Problem ¦ About
© Webmaster World 1996-2014 all rights reserved