Click to See Complete Forum and Search --> : loading previous windows from a pop-up


JK99
10-14-2003, 09:21 PM
Hi All…

Scenario:
I have a page that has links. One of the links opens a pop-up which is an index of other pages. When a link is clicked in the pop-up I wish to load the corresponding new page back in the original full browser window rather than open a new one.

Question:
What script syntax would reference the original window to load the new page… something like parent.document.write(‘nextPage.html’,’’); which I’ve found doesn’t work

pyro
10-15-2003, 07:47 AM
You'd use something like this:

window.opener.location.href = "foo.htm";