I need to detect when the red X button on the browser window is
clicked then do something (logoff the user so the user can re-enter).
I have tried "onbeforeunload" event but it works only when the browser
has a single tab because it meets the condition "window.event.clientY
< 0". However, when there are multiple tabs and user needs to respond
to "Do you want to close all tabs" alert, window.event.clientY is no
longer negative. This is for IE 7.
Any suggestions?
Thank you.
--
You received this message because you are subscribed to the Google Groups "ie7-js" group.
To post to this group, send email to ie7...@googlegroups.com.
To unsubscribe from this group, send email to ie7-js+un...@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/ie7-js?hl=en.
You do sterling work and I'm very grateful for it! :)
-dean