//flex table opened by JP

Click to See Complete Forum and Search --> : Preventing Key Press


PaulMoody
03-26-2001, 01:16 AM
I have recently discovered a JavaScript that can prevent you from clicking the 'right-mouse' button if Java is enabled.

Does Anyone know if you can do a similar thing to prevent a 'key press'?

Dovaka
03-26-2001, 09:19 AM
that script that disables the right click is pretty much useless you can still get the code or download the pictures

why do you want to prevsnt key pressing is this still web-based

PaulMoody
03-26-2001, 11:39 PM
The thing is i'm not actually trying to block people from seeing code or anything like that - I'm in the process of developing a huge intranet for the company I work for. The problem comes on certain sub windows, where although there is no need to press any of the arrow keys, if they do then it messes up the layout. I was just wondering if there was a cute litle script that could prevent this. As its running on our Intranet system, I have complete control over all the options, and therefore know that they are a)using the latest version of IE, and that b) they can't disable Javascript. Any help would be most appreciated.