Search the archives!
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Javascript] Open page in frame from popup window
- From: javascript@xxxxxxxxxx (Peter Brunone)
- Subject: [Javascript] Open page in frame from popup window
- Date: Tue, 30 Jul 2002 07:24:07 -0500
Maybe it's just old-school precaution, but not every browser assigns the opener attribute implicitly. I didn't know the target audience, and an extra line or two of code won't make or break a site. |-----Original Message----- |From: javascript-admin@xxxxxxxxxx [mailto:javascript-admin@xxxxxxxxxx]On |Behalf Of Rodney Myers | |Or just |window.opener.top.mainFrame.location.href = "whatever.html"; |?? | |Rodney | |Peter Brunone wrote: | |> Phill, |> |> First, make sure that when you open the window, you set |it to a variable, |> and then assign the opener property in case it wasn't set, e.g. |> |> var newWin = window.open(yadda yadda); |> newWin.opener = top; |> |> And then in the new window: |> |> window.opener.frames.mainFrame.location.href = "whatever.html"; |> |> Regards, |> |> Peter |> |> |-----Original Message----- |> |Behalf Of Phillip Morgan |> |I have a site I'm putting together which is framed. It pops up a small |> |navigation page with links to other pages. I'd like the links in this |> |navigation page to open the selected page in the parent framed site. |> | |> |There are 4 frames on the main page: topleft, navleft, navtop and |> |mainFrame. The links in the popup nav window need to load the linked |> |pages in mainFrame. |> | |> |How can I do this? | | |_______________________________________________ |Javascript mailing list |Javascript@xxxxxxxxxx |https://lists.LaTech.edu/mailman/listinfo/javascript |
- Follow-Ups:
- [Javascript] Open page in frame from popup window
- From: Rodney Myers
- [Javascript] Open page in frame from popup window
- References:
- [Javascript] Open page in frame from popup window
- From: Rodney Myers
- [Javascript] Open page in frame from popup window
- Prev by Date: [Javascript] Changing a Div's Style- margin-left in IE5.5
- Next by Date: [Javascript] Open page in frame from popup window
- Previous by thread: [Javascript] Open page in frame from popup window
- Next by thread: [Javascript] Open page in frame from popup window
- Index(es):