[thelist] Javascript: tricky closing of window

Candace Maynard Candace.Maynard at popart.com
Tue Feb 6 18:03:31 CST 2001


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 ! 




More information about the thelist mailing list