<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN">
<HTML>
<HEAD>
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=iso-8859-1">
<META NAME="Generator" CONTENT="MS Exchange Server version 5.5.2652.35">
<TITLE>RE: [Javascript] Closing parent window</TITLE>
</HEAD>
<BODY>

<P><FONT SIZE=2>If the window that you are trying to close is not a window that you opened via your script, you will get the dialog from the IE browser as a security measure when your script tries to close the window. </FONT></P>

<P><FONT SIZE=2>Visitors don't appreciate people closing programs on their machines. ;-)</FONT>
</P>

<P><FONT SIZE=2>Bob Filipiak (Contractor)</FONT>
<BR><FONT SIZE=2>MCP </FONT>
</P>

<P><FONT SIZE=2>-----Original Message-----</FONT>
<BR><FONT SIZE=2>From: Iztok Polanic [<A HREF="mailto:iztokp@amis.net">mailto:iztokp@amis.net</A>]</FONT>
<BR><FONT SIZE=2>Sent: Thursday, June 07, 2001 6:26 AM</FONT>
<BR><FONT SIZE=2>To: javascript@LaTech.edu</FONT>
<BR><FONT SIZE=2>Subject: [Javascript] Closing parent window</FONT>
</P>
<BR>

<P><FONT SIZE=2>Hi!</FONT>
</P>

<P><FONT SIZE=2>I'm opening a new window with window.open() function. But now when this new</FONT>
<BR><FONT SIZE=2>window opens I'm using OnLoad event to close previsions window. But the</FONT>
<BR><FONT SIZE=2>problem is that IE asks me if I want to close this window. Is there a way</FONT>
<BR><FONT SIZE=2>how to disable this message?</FONT>
</P>
<BR>

<P><FONT SIZE=2>Lep pozdrav,</FONT>
</P>

<P><FONT SIZE=2>Iztok</FONT>
</P>
<BR>

<P><FONT SIZE=2>_______________________________________________</FONT>
<BR><FONT SIZE=2>Javascript mailing list</FONT>
<BR><FONT SIZE=2>Javascript@LaTech.edu</FONT>
<BR><FONT SIZE=2><A HREF="http://www.LaTech.edu/mailman/listinfo/javascript" TARGET="_blank">http://www.LaTech.edu/mailman/listinfo/javascript</A></FONT>
</P>

</BODY>
</HTML>