on 01-19-2007 10:36 AM
Hi All
I am looking for a solution when the user click on the 'X' ( Close button ) of the explorer window he should be given a comment saying , " You have chosen to logout with no action ".
Can some please give me some pointers on this code.
Thanks
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
This is a rather complicated thing. You can create some javascript code that you call using the onUnLoad event in the body.
Unfortunately, this is event is launched whenever you leave the current page.
A possible solution to this is to embed your page in another page, using frames. On the page with the frame definitions, you can call the onUnload event. This way, you will only launch the event when you close the application or when you navigate away from the page that contains the frame. When you navigate in the frames, there is no problem.
This leaves another problem. You will still get the warning when you close the window after having performed the actions...
Kind regards,
Luk
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
77 | |
10 | |
9 | |
7 | |
6 | |
5 | |
5 | |
5 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.