Hello,
I need to detect when the red X button on the browser window is clicked then logoff the session. It works only when the browser has a single tab because it meets the condition window.event.cl ientY < 0. However, when there are multiple tabs and user needs to respond to "Do you want to close all tabs" alert, window.event.cl ientY is no longer negative. This is for IE 7. Any suggestions?
Thank you.
I need to detect when the red X button on the browser window is clicked then logoff the session. It works only when the browser has a single tab because it meets the condition window.event.cl ientY < 0. However, when there are multiple tabs and user needs to respond to "Do you want to close all tabs" alert, window.event.cl ientY is no longer negative. This is for IE 7. Any suggestions?
Thank you.
Comment