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

When they leave the page Pop-up appears.... Source?

Status
Not open for further replies.

khanza

Technical User
Feb 20, 2003
70
US
My page happens to have Frames a left navigational type frame a top title frame and a body frame... When a user clicks on a link the body frame changes nothing else. So on when they click on the link "hi" it takes them to "hi.htm". When they leave "hi.htm" I want "bye.htm" to show up on thier screen in a new window in addition to whatever page they clicked on to leave.
Thanks in advance! Alex
 
In the <body> tag of the hi.htm document place the following onunload handler:
[tt]
onunload=&quot;window.open('bye.htm');&quot;
[/tt]
 
Thank you so much! The answer was so simple it kind of scares me now lol
Thanks,
Alex
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top