[Javascript] closing windows

Varsou Nilsa nvarsou at infoactivity.com
Tue Jun 5 07:32:24 CDT 2001


Hi,

 I use the self.opener.close() in the new window and works fine. Hope
this help...

Nilza Varsou

 

 

 -----Original Message-----
From: Filipiak, Bob (Contractor) [mailto:filipiab at atsc.army.mil]
Sent: Tuesday, June 05, 2001 3:18 PM
To: 'javascript at LaTech.edu'
Subject: RE: [Javascript] closing windows



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. 

Bob Filipiak (Contractor) 
MCP 

-----Original Message----- 
From: Erwin Kodiat [ mailto:Erwin.Kodiat at mitrais.com
<mailto:Erwin.Kodiat at mitrais.com> ] 
Sent: Tuesday, June 05, 2001 7:03 AM 
To: 'javascript at LaTech.edu' 
Subject: RE: [Javascript] closing windows 


Use self.close() in the parent window, instead. 

Erwin Kodiat 
Mitrais Software Development Center 
Bali, Indonesia 
Tel: +62 361 755025 
Fax: +62 361 755024 
http://www.mitrais.com <http://www.mitrais.com>  <
http://www.mitrais.com/ <http://www.mitrais.com/> > 

This transmission is for the intended addressee only and is confidential

information.  If you have received this transmission in error, please
delete 
it and notify the sender.  The contents of this E-mail are the opinion
of 
the writer only and are not endorsed by MROnly.com Pte Ltd unless
expressly 
stated otherwise. 
  

  

-----Original Message----- 
From: Andrew Dunn [ mailto:adunn at mail.interworx.com.au
<mailto:adunn at mail.interworx.com.au> ] 
Sent: Tuesday, June 05, 2001 18:29 
To: javascript at LaTech.edu 
Subject: [Javascript] closing windows 


Hi, 
   I have a window that opens another window. When the second window is 
opened i want the first window to close. It works but in IE it displays
a 
little confirm message saying "The Web page you are viewing is trying to

close the window Do you want to close the window?" 
  
Does anyone know how to stop this message displaying? 
  
Regards, 
  
Andrew 


_______________________________________________ 
Javascript mailing list 
Javascript at LaTech.edu 
http://www.LaTech.edu/mailman/listinfo/javascript
<http://www.LaTech.edu/mailman/listinfo/javascript>  





More information about the Javascript mailing list