[thelist] Javascript: tricky closing of window

Tab Alleman talleman at autobex.com
Tue Feb 6 16:58:31 CST 2001


hmmmm... if it were opened from a page in a frame, would:

window.opener.parent.close()  work?

...just a thet.

-----Original Message-----


You want to make sure, however, that the script that opened newWin is
located in the top-level page of mainWin (e.g. in the HEAD of the page
containing the FRAMESET).


HTH
-- 
Ben Henick
Web Author At-Large
http://www.io.com/persist1/
persist1 at io.com

"Are you pondering what I'm pondering, Pinky?"
"I think so, Brain, but... (snort) no, no, it's too stupid."
"We will disguise ourselves as a cow."
"Oh!" (giggles) "That was it exactly!"


---------------------------------------
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