Re: executing a JS function when a browser closes
by "Rajnish Bhaskar" <9705228b(at)student.gla.ac.uk>
|
| Date: |
Wed, 12 Apr 2000 19:50:51 +0100 |
| To: |
"David Rapp" <david(at)rappd.freeserve.co.uk> |
| Cc: |
hwg-basics(at)mail.hwg.org |
| In-Reply-To: |
default |
| |
todo: View
Thread,
Original
|
|
Hi David,
> I think it's possible. If you use the unload function JavaScript can control
> an event on the closure of the page.
I thought that this is only for when you are closing a page, not when you
are closing the broswer. I've tried something similar, and it didn't seem
to work.
> But you'd need some error checking to
> prevent accidental logouts on leaving the current page.
We were going to put the site inside an invisable frame to get around this.
Thanks,
Raj.
------------------------------------------------------------------
__ __
| | | | Rajnish Bhaskar, University of Glasgow
|_ / |_ / E-Mail: rajy(at)i.am
| \ | \ Home Page: http://i.am/rajy
| \ |__/
Help feed the hungry people of the world.
Give a free donation of food at http://www.thehungersite.com
HTML: hwg-basics mailing list archives,
maintained by Webmasters @ IWA
This page is part of a preserved archive of archives.hwg.org. The site is no longer active and its content is not maintained. For enquiries about this archive, write to archive(at)iwanet.org.