Links

Lists

Latest Updates

Ruby On Rails List
Python list
Advanced Java
The JavaScript List
Apache Users
Full Disclosure
Linux Security

Search the archives!


[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Javascript] window close without user intervention


  • From: javascript@xxxxxxxxxx (Tom Mallard)
  • Subject: [Javascript] window close without user intervention
  • Date: Thu, 13 Sep 2001 21:09:31 -0700

When it finishes, update the page within the window to have an
opener.close() statement that executes from a body onload="closeWindow();"
function.

tom mallard
seattle
----- Original Message -----
From: <andyg@xxxxxxxxxx>
To: <javascript@xxxxxxxxxx>
Sent: Thursday, September 13, 2001 8:26 PM
Subject: Re: [Javascript] window close without user intervention


> > I have an asp script that shows the user how far along a file upload is.
> > When it finishes, I would like the window to close automatically --
without
> > the user having to push a button or link saying "close this window".
> > Basically it would be something like this:
> >
> > tell browser:
> >
> > run this asp till finished
> > on finish run this javascript to close window.
>
> would this work? Alternatively \i guess you could response.redirect
> when finished so not to rely on javascript?
>
> <%
> ' your asp stuff here
> %>
> <script>
> window.close()
> </script>
>
> _______________________________________________
> Javascript mailing list
> Javascript@xxxxxxxxxx
> http://www.LaTech.edu/mailman/listinfo/javascript
>