New Revised CSS Library Forums Web Tools
FAQs Awards Usage Terms Contact
Categories
Other Sections
Sweet Ads
Compatibility
Bookmark online:


IE5+ Opr7+

Home Hot Key Script

Author: Dynamic Drive

Description: A script that jumps back "home" when a key is pressed. In other words, a script that allows you to specify a target url to go to when a key from the keyboard is pressed.

Demo: Press "h" to go home.


Directions: Developer's View
The below wizard allows you to associate any key with a URL to go to when pressed.

Step 1: Enter a key (ie: "h") that you wish to use as the URL "jumper":

Step 2: Insert the below into the <head> section of the page(s) you want to have the hotkey feature enabled:

Select All

Make sure you change variable "destination" in the above code from http://www.mydomain.com to your own url.