<!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 windows</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>Bob Filipiak (Contractor)</FONT>
<BR><FONT SIZE=2>MCP </FONT>
</P>

<P><FONT SIZE=2>-----Original Message-----</FONT>
<BR><FONT SIZE=2>From: Erwin Kodiat [<A HREF="mailto:Erwin.Kodiat@mitrais.com">mailto:Erwin.Kodiat@mitrais.com</A>]</FONT>
<BR><FONT SIZE=2>Sent: Tuesday, June 05, 2001 7:03 AM</FONT>
<BR><FONT SIZE=2>To: 'javascript@LaTech.edu'</FONT>
<BR><FONT SIZE=2>Subject: RE: [Javascript] closing windows</FONT>
</P>
<BR>

<P><FONT SIZE=2>Use self.close() in the parent window, instead.</FONT>
</P>

<P><FONT SIZE=2>Erwin Kodiat</FONT>
<BR><FONT SIZE=2>Mitrais Software Development Center</FONT>
<BR><FONT SIZE=2>Bali, Indonesia</FONT>
<BR><FONT SIZE=2>Tel: +62 361 755025</FONT>
<BR><FONT SIZE=2>Fax: +62 361 755024</FONT>
<BR><FONT SIZE=2><A HREF="http://www.mitrais.com" TARGET="_blank">http://www.mitrais.com</A> &lt;<A HREF="http://www.mitrais.com/" TARGET="_blank">http://www.mitrais.com/</A>&gt; </FONT>
</P>

<P><FONT SIZE=2>This transmission is for the intended addressee only and is confidential</FONT>
<BR><FONT SIZE=2>information.&nbsp; If you have received this transmission in error, please delete</FONT>
<BR><FONT SIZE=2>it and notify the sender.&nbsp; The contents of this E-mail are the opinion of</FONT>
<BR><FONT SIZE=2>the writer only and are not endorsed by MROnly.com Pte Ltd unless expressly</FONT>
<BR><FONT SIZE=2>stated otherwise.</FONT>
<BR><FONT SIZE=2>&nbsp; </FONT>
</P>

<P><FONT SIZE=2>&nbsp;</FONT>
</P>

<P><FONT SIZE=2>-----Original Message-----</FONT>
<BR><FONT SIZE=2>From: Andrew Dunn [<A HREF="mailto:adunn@mail.interworx.com.au">mailto:adunn@mail.interworx.com.au</A>]</FONT>
<BR><FONT SIZE=2>Sent: Tuesday, June 05, 2001 18:29</FONT>
<BR><FONT SIZE=2>To: javascript@LaTech.edu</FONT>
<BR><FONT SIZE=2>Subject: [Javascript] closing windows</FONT>
</P>
<BR>

<P><FONT SIZE=2>Hi,</FONT>
<BR><FONT SIZE=2>&nbsp;&nbsp; I have a window that opens another window. When the second window is</FONT>
<BR><FONT SIZE=2>opened i want the first window to close. It works but in IE it displays a</FONT>
<BR><FONT SIZE=2>little confirm message saying &quot;The Web page you are viewing is trying to</FONT>
<BR><FONT SIZE=2>close the window Do you want to close the window?&quot;</FONT>
<BR><FONT SIZE=2>&nbsp;</FONT>
<BR><FONT SIZE=2>Does anyone know how to stop this message displaying?</FONT>
<BR><FONT SIZE=2>&nbsp;</FONT>
<BR><FONT SIZE=2>Regards,</FONT>
<BR><FONT SIZE=2>&nbsp;</FONT>
<BR><FONT SIZE=2>Andrew</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>