Before we get started. Make sure you have JQuery downloaded, and then download JQuery Hotkeys.
Now add in the following files like so...
<html> <head> <title>JQuery Hotkeys</title> <script src="jquery-1.6.1.js"></script> <script src="jquery.hotkeys.js"></script> </head> <body> </body> </html>
Now it's super easy to make a hotkey.
For example look at my code below.
$(document).bind('keydown', 'ctrl+q', function() {
alert('You found the hotkey!');
});What this code does is, when you press CTRL+Q an alertbox will popup saying "You found the hotkey!".
I told you it was easy.

Help













