|
November 24, 1999 Hot Keys Tips: November 1999
Yehuda Shiran, Ph.D.
|
|
We'll use the term hot key to describe a key that executes a specific action on a Web page. For example, we could write a script that takes the user to Microsoft's front page whenever the user presses the key "M" on the page. Take a look at the following script::
As you can see, it is possible to assign as many hot keys as you wish. Each key can be associated with a different Web page. Note that your hot keys will operate on Internet Explorer 4.0x, Navigator 4.0x, and above. Older browsers will ignore them. For more information about keyboard events, refer to Column 9, The Navigator Event Model, Column 10, The Internet Explorer Event Model, and Column 11, The Cross-Browser Event Model.
People who read this tip also read these tips: Look for similar tips by subject: |