Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Pop-Up Box Using Java

Status
Not open for further replies.

moppsy

IS-IT--Management
Dec 22, 2004
22
US
I am trying to create a pop-up box using Java scripting that appears after someone exits my website. In other words, when the user leaves my domain and goes to another domain. I am having problems figuring out how to determine/detect when someone leaves my website/domain. Can anyone help me with this? Thanks in advance.
 
This is a common question here, and this technique is considered particularly annoying, a pretty sure bet to drive traffic away from your site. You have to ask yourself if your purpose is to annoy visitors to your site so they don't come back, or to make them feel welcome so they want to come back.

Lee
 
Lee, I understand that. Could you please give me a solution to the problem.
 
Like I said, it's been asked before. Do a search on popup before leaving website, or something like that, and you'll find your answer(s).

Lee
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top