|
|
|
|
![]() ![]() |
Dec 9 2007, 04:23 AM
Post
#1
|
|
|
Super Member Group: [HOSTED] Posts: 760 Joined: 8-April 06 From: Lima - Peru Member No.: 12,579 |
I know that when a user leaves your website you can perform any action if you add some code to the onunload event like for example display an alert box, pop-up a window, etc. but when the user close the browser window instead which event is fired up??? how to control this action??? is it possible to add some code to perform when this happens????
Best regards, |
|
|
|
Dec 9 2007, 06:23 AM
Post
#2
|
|
|
Premium Member Group: [HOSTED] Posts: 391 Joined: 16-February 06 From: Kolkata, India Member No.: 11,322 |
I think it should trigger the same event as it is fundamentally the same, body being unloaded. I have found this to be the case in Internet Explorer 7 and Firefox. There might be inconsistencies in other borwsers, though.
|
|
|
|
![]() ![]() |
Similar Topics
| Topics | Topics | |
|---|---|---|
|
|
|
|
Lo-Fi Version | Time is now: 7th October 2008 - 02:01 AM |