View Full Version : Prevent users going to previous page?

07-03-2006, 01:53 PM

It's enough for me if I can block the altKey + left arrow combo in IExplorer, because users will not have a mouse (something like a kiosk).

Can it be done with JavaScript?

I can detect a combo like shift+any key, but can't resolve the altKey + lef tarrow .

Thank you in advance:

07-03-2006, 11:16 PM
You can't stop visitors returning to the previous page. Even if you could block the particular key combinations using Javascript (and different browser use different combinations so you'd have to block just about all input to be certain) your visitors don't have to allow the javascript to run.