[thelist] Javascript: tricky closing of window

Luther, Ron Ron.Luther at COMPAQ.com
Wed Feb 7 15:38:31 CST 2001


Hi Karl,


Hmmm ... You're opening a new window (based on some action) ... and closing
the original window ... Hmmmm

Since the "opener" is a child frame of the main window I think you might
need something more like window.parent.opener.close() ... since you want to
close the 'parent' of the 'opener' frame ...

<really off-the-wall suggestion>
Why not just load the new content into the current window? ... at the top
'frameset' level of course!
</rotws>

Ron L.

-----Original Message-----
From: Karl de Lautier @ Datawebs [mailto:datawebs at email.com]
Subject: [thelist] Javascript: tricky closing of window

I have a framed window, named mainWin, which produces a pop-up, 




More information about the thelist mailing list