onUnload delimma...
- From: Cynth <caca-NO-33-DASHES@xxxxxxxxxxxxx>
- Date: Sun, 29 Jan 2006 23:27:27 -0500
Hello and thank you!
I have a window that I have opened explicitly from an opener. It has no "location" bar. All you can do in this window is either
browse through the pages of a manual using "NEXT" and "PREV" links I have provided
or
Close the window using a link I have provided
or
Close the window using the X button in the top-right of the title bar.
MY DELIMMA:
I need to do some DB updatiing when a visitor closes the window (I was thinking of using an onUnload---> open a 1x1 window which performs the DB updating then closes itself).
If I use an OnUnload event to detect the unloading of the page, I can't distinguish between the user moving from page to page of the manual or actually CLOSING the window.
Any ideas?
I suppose I could use a frameset and when the parent closes...do my cleanup....but I hate frames.
.
- Follow-Ups:
- Re: onUnload delimma...
- From: Daniel Kirsch
- Re: onUnload delimma...
- Prev by Date: Re: How to call javascript into XSLT
- Next by Date: RE: Using ShowModalDialog on Mozilla
- Previous by thread: How to call javascript into XSLT
- Next by thread: Re: onUnload delimma...
- Index(es):