<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=Content-Type content="text/html; charset=iso-8859-1">
<META content="MSHTML 6.00.2800.1106" name=GENERATOR>
<STYLE></STYLE>
</HEAD>
<BODY bgColor=#ffffff>
<DIV><FONT face=Arial size=2>Or easier, window.opener = 
null;window.close();</FONT></DIV>
<BLOCKQUOTE 
style="PADDING-RIGHT: 0px; PADDING-LEFT: 5px; MARGIN-LEFT: 5px; BORDER-LEFT: #000000 2px solid; MARGIN-RIGHT: 0px">
  <DIV style="FONT: 10pt arial">----- Original Message ----- </DIV>
  <DIV 
  style="BACKGROUND: #e4e4e4; FONT: 10pt arial; font-color: black"><B>From:</B> 
  <A title=costea.dan@ssi-schaefer.ro 
  href="mailto:costea.dan@ssi-schaefer.ro">Dan Costea</A> </DIV>
  <DIV style="FONT: 10pt arial"><B>To:</B> <A title=javascript@LaTech.edu 
  href="mailto:javascript@LaTech.edu">[JavaScript List]</A> </DIV>
  <DIV style="FONT: 10pt arial"><B>Sent:</B> Monday, August 25, 2003 6:53 
  PM</DIV>
  <DIV style="FONT: 10pt arial"><B>Subject:</B> Re: [Javascript] 
  window.parent.close</DIV>
  <DIV><BR></DIV>
  <DIV><FONT face=Arial size=2>The ideea is that you cannot close a window that 
  you didn't open with your js code (without user's confirmation), because of 
  the security reasons.</FONT></DIV>
  <DIV><FONT face=Arial size=2><STRONG>BUT</STRONG></FONT></DIV>
  <DIV><FONT face=Arial size=2>you find all the "story" and the solution 
  here:</FONT></DIV>
  <DIV><FONT face=Arial size=2><A 
  href="http://www.xs4all.nl/~ppk/js/croswin.html">http://www.xs4all.nl/~ppk/js/croswin.html</A></FONT></DIV>
  <DIV><FONT face=Arial size=2>at section: <FONT face="Times New Roman">"Closing 
  the opener"</FONT></FONT></DIV>
  <DIV>&nbsp;</DIV>
  <BLOCKQUOTE 
  style="PADDING-RIGHT: 0px; PADDING-LEFT: 5px; MARGIN-LEFT: 5px; BORDER-LEFT: #000000 2px solid; MARGIN-RIGHT: 0px">
    <DIV style="FONT: 10pt arial">----- Original Message ----- </DIV>
    <DIV 
    style="BACKGROUND: #e4e4e4; FONT: 10pt arial; font-color: black"><B>From:</B> 
    <A title=murugesan@hotpop.com 
    href="mailto:murugesan@hotpop.com">murugesan</A> </DIV>
    <DIV style="FONT: 10pt arial"><B>To:</B> <A title=javascript@LaTech.edu 
    href="mailto:javascript@LaTech.edu">javascript@LaTech.edu</A> </DIV>
    <DIV style="FONT: 10pt arial"><B>Sent:</B> Monday, August 25, 2003 8:35 
    PM</DIV>
    <DIV style="FONT: 10pt arial"><B>Subject:</B> [Javascript] 
    window.parent.close</DIV>
    <DIV><BR></DIV>
    <DIV><FONT face=Arial size=2>When I close a window it is asking me whether 
    to close it or not.</FONT></DIV>
    <DIV><FONT face=Arial size=2>(prompts me to choose yes or no for closing the 
    window)</FONT></DIV>
    <DIV><FONT face=Arial size=2>I use </FONT></DIV>
    <DIV><FONT face=Arial size=2>window.parent.close()</FONT></DIV>
    <DIV><FONT face=Arial size=2></FONT>&nbsp;</DIV>
    <DIV><FONT face=Arial size=2>in a page which has two frames in which there 
    is a link for closing the window</FONT></DIV>
    <DIV><FONT face=Arial size=2>How can I prevent the promt choice to close the 
    window.</FONT></DIV>
    <DIV><FONT face=Arial size=2>Thanks in advance for your answer.</FONT></DIV>
    <DIV><FONT face=Arial size=2></FONT>&nbsp;</DIV>
    <DIV><FONT face=Arial size=2>-murugesan</FONT></DIV>
    <P>
    <HR>

    <P></P>_______________________________________________<BR>Javascript mailing 
    list<BR>Javascript@LaTech.edu<BR>https://lists.LaTech.edu/mailman/listinfo/javascript<BR></BLOCKQUOTE>
  <P>
  <HR>

  <P></P>_______________________________________________<BR>Javascript mailing 
  list<BR>Javascript@LaTech.edu<BR>https://lists.LaTech.edu/mailman/listinfo/javascript<BR></BLOCKQUOTE></BODY></HTML>