[thelist] [javascript] popup window changes parent?

Tab Alleman talleman at autobex.com
Wed Feb 21 13:07:27 CST 2001


You only need .parent if the opener was in a frameset.. then
window.opener.parent would refer to the file containing the frameset.
Otherwise, just "window.opener" would suffice.

-----Original Message-----
From: thelist-admin at lists.evolt.org
[mailto:thelist-admin at lists.evolt.org]On Behalf Of Eric Cestari
Sent: Wednesday, February 21, 2001 2:13 PM
To: thelist at lists.evolt.org
Subject: Re: [thelist] [javascript] popup window changes parent?


Yup : it's window.opener.parent

Eric

"A. Erickson" wrote:
>
> I know this can be done as I've seen it before but a week of searching has
> turned up nothing -- hoping the evoltians can help!
>
> I have a pop-up window with some text and a link for "more info" at the
> bottom. When the user clicks "more info," I want the parent window to
change
> location (to the page that holds the info) and for the pop-up to close.
>
> Popping up the window is no problem and of course closing it via a link is
> no problem -- where I'm getting tripped up is, naturally, figuring out how
> to call that parent window. It needs a name, right?
>
> Any help very appreciated!
>
> - amanda
>
> ---------------------------------------
> For unsubscribe and other options, including
> the Tip Harvester and archive of TheList go to:
> http://lists.evolt.org Workers of the Web, evolt !

--
==================================+========================
Eric Cestari                      |               Ohm Force
Chief Web Designer                |  Digital Audio Software
mailto:eric.cestari at ohmforce.com  | http://www.ohmforce.com
==================================+========================

---------------------------------------
For unsubscribe and other options, including
the Tip Harvester and archive of TheList go to:
http://lists.evolt.org Workers of the Web, evolt !





More information about the thelist mailing list