Plugins

User login
Can't find a Plugin?

Can't find a Plugin you are looking for? Check out the jQuery Wiki page.

Are you a plugin developer? Please move your plugin over to this site.

Website Bug or Feature Request?

Found a bug on the new jQuery Plugin website? Have a feature request?

Submit it to the jQuery Plugin website issue queue to ensure it is noticed!

HotKeys


Average rating
(8 votes)

HotKeys is a keyboard hooker plug-in.

May you find this useful in cases of:
  • Powering your Ajax applications with keyboard short-cuts such as Ctrl+x, Alt+y, Shift+z, etc.
  • Games development with Javascript + jQuery

HotKeys lets you easily add and remove handlers for keyboard events anywhere in your code supporting almost *any* keys combination.
It takes a single line of code to bind or unbind a hot key.

Binding 'Ctrl+c'

$(document).bind('keydown', 'Ctrl+c', fn);

Unbinding 'Ctrl+c'
$(document).unbind('keydown', 'Ctrl+c', fn);

Live demo at: http://jshotkeys.googlepages.com/test-static-01.html

Update:New Version (0.7) Available at: http://code.google.com/p/js-hotkeys/downloads/list