Re: Javascript Window Close HELP please

2004-03-10 Thread brobborb
actually sorry it does both!!  i just want it to do itwhen the window closes :(   - Original Message -   From: brobborb   To: CF-Community   Sent: Wednesday, March 10, 2004 2:40 PM   Subject: Re: _javascript_ Window Close HELP please   This calls a function when you move away from the p

Re: Javascript Window Close HELP please

2004-03-10 Thread brobborb
This calls a function when you move away from the page, not when the window closes   - Original Message -   From: Ben Densmore   To: CF-Community   Sent: Wednesday, March 10, 2004 2:11 PM   Subject: RE: _javascript_ Window Close HELP please   I think your best bet would be to write you

RE: Javascript Window Close HELP please

2004-03-10 Thread Andre Turrettini
usually, I've used the onclose function to open another window which then calls the server and tells it to shut the session down.  That way it doesnt get lost by the window closing. however youre still pretty hosed when they just browse to another site but you can run your app in a window withou

RE: Javascript Window Close HELP please

2004-03-10 Thread Ben Densmore
I think your best bet would be to write your function, then in the body tag use an onUnLoad() event to call that function. Ben -Original Message- From: brobborb [mailto:[EMAIL PROTECTED] Sent: Wednesday, March 10, 2004 3:01 PM To: CF-Community Subject: _javascript_ Window Close HELP plea

RE: Javascript Window Close HELP please

2004-03-10 Thread Harkins, Patrick
hey, why not? They have some heavy-duty coders working on some of them, I'll bet! -Original Message- From: brobborb I am not going to go to a typical pron site and view source. Outbound email scanned for viruses. (e230) [Todays Threads] [This Message] [Subscription] [Fast Unsubsc

RE: Javascript Window Close HELP please

2004-03-10 Thread Lyons, Larry
Try giving them a specific link that calls your function. Otherwise try an onunload attribute in the body tag, although that may not work if the person just closes the window. larry > -Original Message- > From: brobborb [mailto:[EMAIL PROTECTED] > Sent: Wednesday, March 10, 2004 3:01