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

help! Is this correct? opener.location.href='frameset2';self.close()

Status
Not open for further replies.

Jennyucf

Instructor
Joined
Jun 22, 2001
Messages
215
Location
US
Hi, there

First time in this forum, and hope for the help..

I have three windows:
1. frameset1: click on text and it opens a smaller browser window.

2. click on next in the small browser window, and it closes, then goes to frameset2.

I use the behavior\call javascript to the next, but it didn't work. Please take a look.
opener.location.href='frameset2';self.close()

Please help.. Thanks!!

 
try this instead:
Code:
window.opener.document.location.href='frameset2';window.close()

if this works then ur in luck else drop me another line!


bignewbie
 
Hi, thank you! Actually, I don't quite understand the meaning of "document" in the script.
Also, I've updated the files where I have problems. Would you please take a second look at the file name is quest_next.

I've wrote my problems there.

Your help is highly appreciated!!

Jenny
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top