Gossamer Forum
Quote Reply
Navigate away block?
Anyone have code that can be used on the edit screen to prevent navigation away from the page?

The way the advanced editor works, is if you accidentally leave the page, all work is trashed, without any sort of "arey you sure you don't want to send this message" prompt.

Just something simple like a "Do you really want to leave this page Yes/No", but that will catch and prevent any sort of navigation away, no matter what button was pressed. With different keyboards, and users going from computer to computer, the chances of this happening increase all the time -- and it creates a _massive_ amount of frustration.

I can't count how many times I've lost a long post because I hit the backspace key, or some other funky key on the keyboard, and windows had shifted the focus.

How many people start to post, lose it, and then just go away? It's possibly the most unfriendly feature of GForum, since it's so hidden, you don't realize it's insidiously doing this to your visitors.

Many other programs are using them, and Google's GMail has it also. It's saved me many times.


PUGDOG� Enterprises, Inc.

The best way to contact me is to NOT use Email.
Please leave a PM here.
Subject Author Views Date
Thread Navigate away block? pugdog 3149 Sep 29, 2005, 10:12 PM
Post Re: [pugdog] Navigate away block?
SeanP 3090 Sep 30, 2005, 7:10 AM
Post Re: [pugdog] Navigate away block?
SeanP 3081 Sep 30, 2005, 7:24 AM