[thelist] Javascript: tricky closing of window

Karl de Lautier @ Datawebs datawebs at email.com
Tue Feb 6 16:45:33 CST 2001


I have a framed window, named mainWin, which produces a pop-up, named newWin. What I want to do is OnLoad of newWin is to close mainWin. In the body tag I have tried OnLoad="mainWin.close()" and variations, and even OnLoad="opener.window.close()" and variations, all to no avail. Does anyone have any ideas?

Cheers
Karl

-----------------------------------------------
FREE! The World's Best Email Address @email.com
Reserve your name now at http://www.email.com






More information about the thelist mailing list