Forum Moderators: travelin cat

Message Too Old, No Replies

detecting window.closed workaround IE mac

has anyone ever found a way?

         

amznVibe

3:35 am on Jun 30, 2003 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



I've come across a problem in javascript that seems to be documented as a bug on the mac IE 5. But I cannot find any workaround discoveries.

Seems in javascript window.closed always returns false on mac IE. How can I code around that to test if a window is closed before continuing to open another?

example:
if ((screenshot) && (screenshot.open) && (!screenshot.closed)) {screenshot.close();}

works on every other browser on every platform, but not IE mac which thinks the window is always open...

thanks for any help!