On 5/1/07, Dave Watts <[EMAIL PROTECTED]> wrote:
>
> The onunload event of the BODY tag will let you trap the closing of a
> browser window or tab. However, I suspect that the JavaScript you could run
> there would be somewhat limited.

It throws when you navigate away from the page as well as closing.

But in my experience, it's unreliable.  I tried using it with
CFOpenChat to notify the room that you were currently in that you were
leaving... and .. well.. like I said.. unreliable.

Rick

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
ColdFusion MX7 and Flex 2 
Build sales & marketing dashboard RIA’s for your business. Upgrade now
http://www.adobe.com/products/coldfusion/flex2?sdid=RVJT

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:276647
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4

Reply via email to