Closed Thread Icon

Topic awaiting preservation: Prompting before closing a window? Pages that link to <a href="https://ozoneasylum.com/backlink?for=8812" title="Pages that link to Topic awaiting preservation: Prompting before closing a window?" rel="nofollow" >Topic awaiting preservation: Prompting before closing a window?\

 
Author Thread
Kaniz
Bipolar (III) Inmate

From:
Insane since: Jun 2003

posted posted 08-13-2003 16:27

On the online game I am working on, I would like to prompt a user with 'are you sure you wish to close this window?' (yes/no) when they attempt to close the window. However, cant seem to figure out how to caputre the closing window event

there is the unLoad, however that gets called on a page reload or simply moving to the next page (which I dont want to do..). Anyone know how I would go about doing this?

Slime
Lunatic (VI) Mad Scientist

From: Massachusetts, USA
Insane since: Mar 2000

posted posted 08-13-2003 17:07

You can't cancel the closing of a window; if you could, people would use it malisciously. Speaking of which, I need to learn how to spell malisciously sometime.

Kaniz
Bipolar (III) Inmate

From:
Insane since: Jun 2003

posted posted 08-13-2003 19:28

*ponders*

I guess my only option then would be to popup a chromless window then I suppose. *grumble*

Slime
Lunatic (VI) Mad Scientist

From: Massachusetts, USA
Insane since: Mar 2000

posted posted 08-14-2003 01:41

There's always the "don't override the user's interface" option...

« BackwardsOnwards »

Show Forum Drop Down Menu