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!

How to close a child window when the parent is done loading

Status
Not open for further replies.

alcodesign

Technical User
Feb 1, 2005
1
US
I would like to know how, or if, there is a way to close a child window once the parent window is finished loading. A have the main browser window loading a smaller window and would like to close the small window once the main window is finished loading since it takes a few seconds. Any help is greatly appreciated.

--Al
 
use the onlioad event, onload fires immediately after the browser loads the object (the opened window in your case)
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top