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 strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

window pop up on exit page... 1

Status
Not open for further replies.

flasher

Technical User
Mar 4, 2002
245
US
Hi, Right now there is a popup window on this page that pops up onload. Can someone tell me how to change the code so that the window will pop up upon exiting the page instead? thanks!

 
use onUnload where it says onLoad

Sometimes, when my code just won't behave, I take it outside and make it listen to britney spears music, and when it comes back it's really well behaved. I wonder if it's suffering from post tramatic stress syndrome now..
 
That's one of the top 10 ways to make sure they never visit again.
 
I honestly wouldn't have known the difference, since I have
unauthorized (un-initiated by me) popups disabled on Mozilla.

If that popup has some critical information, you should
probably take that into consideration. I personally find
popups annoying, (which is the main reason why I started using
Mozilla in the first place) but now I never see them. You
might want to consider doing something else on your page
rather than a popup. While I don't necessarily think
that its one of the top 10 ways to make sure they don't
come back, I think its definitely up there with flashing
text, music, and badly-coded frames. (I don't mind music that
I can click on to play, but I dont want to be surprised when
I click on something and have music blaring all of a sudden)

Just my thoughts,
MG
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top