Uncle Jim's Web Designs
TRAP THE SHIFT KEY WHEN PRESSES
Author:
Jim Stiles
This script will trap the shift key when pressed and display an alert.
This will prevent the user from using the shift key while viewing your page.
INSTALLATION INSTRUCTIONS
COPY
-
Insert Between Head Tags: <HEAD></HEAD>
COPY
-
Insert into Body Tag: <BODY 'CODE HERE'>
onKeyPress="microsoftKeyPress()"
Close This Window