This code works perfectly in IExplorer, but in exactly the same context
does not work at all in Netscape 7.x.
<SCRIPT TYPE="text/javascript" LANGUAGE="JavaScript">
<!--
if (window.parent.opener.closed)
{
window.parent.close();
};
// -->
</SCRIPT>
This is intended to detect the presence of an open parent window. When
one closes the open parent in IE, the child closes promply. In Netscape,
the inner loop is apparently not executed after the window is closed.
Reversing the logic on the opener test works fine as long as the window
is open. But, hey! Isn't ...opener.closed supposed to return something
if a window is closed? It seems to simply... fail. The inner loop will
not execute with either a negative or positive logic spin (!window...).
--
***********************************
* Bob Dickow (di****@uidaho.edu) *
* Hampton School of Music *
***********************************