[thelist] Javascript: tricky closing of window
Tab Alleman
talleman at autobex.com
Tue Feb 6 18:10:31 CST 2001
I've had "window.parent" *not* work for me with pop-ups. Maybe I used it
wrong.. but changing it to ".opener" fixed the problem.
-----Original Message-----
From: thelist-admin at lists.evolt.org
[mailto:thelist-admin at lists.evolt.org]On Behalf Of Candace Maynard
Sent: Tuesday, February 06, 2001 5:34 PM
To: thelist at lists.evolt.org
Subject: RE: [thelist] Javascript: tricky closing of window
You can also use window.parent in a popup created by
window.open. Cross-browser.
I find that window.parent is therefore easier to
use confidently.
-----Original Message-----
From: Tab Alleman [mailto:talleman at autobex.com]
Sent: Tuesday, February 06, 2001 1:56 PM
To: thelist at lists.evolt.org
Subject: RE: [thelist] Javascript: tricky closing of window
(Logically, it should.)
Would *I* have suggested it otherwise? ;)
(I s'pose it should be tested... though when everything is said and done
that's at about No. 48 on my To Do List...)
Mine too.. I think it that case, by default it becomes the homework
assignment of the person who asked the original question...
<tip type="JS DOM">
Parent vs Opener: frames in a frameset have parents.. pop-ups created
by
"window.open()" have openers
</tip>
----
On Tue, 6 Feb 2001, Tab Alleman wrote:
> hmmmm... if it were opened from a page in a frame, would:
>
> window.opener.parent.close() work?
---------------------------------------
For unsubscribe and other options, including
the Tip Harvester and archive of TheList go to:
http://lists.evolt.org Workers of the Web, evolt !
---------------------------------------
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