<html><div style='background-color:'><DIV>
<P>didn't get it all but</P>
<P>try :<FONT face="Verdana, Geneva, Arial, Sans-serif" size=2><STRONG>self.close() -</STRONG><FONT face="Times New Roman, Times, Serif" size=3>at the end of that script!</FONT></FONT><BR><BR></P></DIV>did no
<DIV></DIV>
<DIV></DIV>>From: "sebastian" <SEBASTIAN.LAHAJNAR@PRIS-INZ.SI>
<DIV></DIV>>Reply-To: javascript@LaTech.edu
<DIV></DIV>>To: "javascript_posiljanje" <JAVASCRIPT@LATECH.EDU>
<DIV></DIV>>Subject: [Javascript] window closing
<DIV></DIV>>Date: Wed, 30 Oct 2002 10:50:41 +0100
<DIV></DIV>>
<DIV></DIV>>Hi.
<DIV></DIV>>
<DIV></DIV>>On my page I'm using JavaScript to open a new window (let's say win1) just
<DIV></DIV>>before I submit a page.
<DIV></DIV>>
<DIV></DIV>>win1=window.open ....
<DIV></DIV>>document.xxx.submit()
<DIV></DIV>>
<DIV></DIV>>How to close this window when the user actualy navigates to the next page.
<DIV></DIV>>
<DIV></DIV>>I tried to use win1.close() on onUnload ewent but because the two statements
<DIV></DIV>>are not in the same function en error occur ( win1 is not an object...)
<DIV></DIV>>
<DIV></DIV>>I'm using this page to upload a file to the server using a Dundas upload
<DIV></DIV>>component and I want a message to be displayed (new window) while a file is
<DIV></DIV>>uploading.
<DIV></DIV>>
<DIV></DIV>>Thanks, Sebastian
<DIV></DIV>>
<DIV></DIV>>_______________________________________________
<DIV></DIV>>Javascript mailing list
<DIV></DIV>>Javascript@LaTech.edu
<DIV></DIV>>https://lists.LaTech.edu/mailman/listinfo/javascript
<DIV></DIV></div><br clear=all><hr>Internet access plans that fit your lifestyle -- join MSN. <a href="http://g.msn.com/8HMXEN/2018">Click Here</a> </html>