Posted by Dr. Bob on September 5, 2003, at 5:06:47
In reply to Re: accidentally closing the window, posted by Dr. Bob on June 19, 2003, at 10:34:53
> > Is there some way your code can be changed so that if somebody accidentally tries to close the window, that they can be prompted with a Yes or No question as to whether they want to continue to finalize the posting of their message or to exit the program and lose the message they just composed?
>
> Hmm, interesting idea, thanks...OK, I've tried to implement this, but it doesn't always work, because it turns out to be considered problematic, because some sites abuse it to try to keep people from leaving them. But it should work if you use frames:
http://www.dr-bob.org/babble/faq.html#frames
Bob
poster:Dr. Bob
thread:234812
URL: http://www.dr-bob.org/babble/admin/20030808/msgs/257206.html