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!

simple issue in closing up a window

Status
Not open for further replies.

thendal

Programmer
Aug 23, 2000
284
Hi all!

Here is my issue

I have main page ,from there i opened up a new window with defined height and width.and from that second window i need to open up another window (third window) which is having a defined height and width.as soon as it opens up i need to close the second window.and the third window and the first window has to stay.

Thanks:)

Thendal
 
make sure you store a reference to your windows when you open them:

win2 = window.open("page2.htm")

then in page three you can use:

<body onload=&quot;opener.win2.close()&quot;> jared@aauser.com -
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top