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!

Close and set opener location ?

Status
Not open for further replies.

Gaelle

Programmer
Jun 20, 2001
62
FR
Hi !

I have a problem I can't solve under Netscape 4.x (but which I have solved under ie) :
I have a first page that opens a second one on a click on a link, and then on a click on the second page, I would like to both :
close the second window
change the first window location

I have tried many things with top, parent, opener, window objects but still I don't have the solution.

Can anybody help me ?

Thanks !
Gaelle.
 
what solution have you used that is working for IE?
Tony
reddot.gif WIDTH=500 HEIGHT=2 VSPACE=3

 
from the second window, you should be able to use this:

opener.location.href = "newPage.html";
window.close(); =========================================================
if (!succeed) try();
-jeff
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top