skip to main | skip to sidebar

Brandon Truong

Tuesday, January 26, 2010

js-hotkeys - Project Hosting on Google Code

Javascript jQuery Hotkeys Plugin

Cross Browser Module (Works with Safari, Opera, Firefox, Chrome and IE)

The latest Version is 0.7.8

jQuery.Hotkeys plugin lets you easily add and remove handlers for keyboard events anywhere in your code supporting almost any key combination. It takes one line of code to bind/unbind a hot key combination.

Example:

Binding 'Ctrl+c'

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

Unbinding 'Ctrl+c'

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

Known Issues

  • KeyPress is not working well owe to the fact that keycodes varies between key[down|up] and key press (lower and upper case). see example at Test #6. This should be solved in the next version

More info

  • Public Git Repository at GitHub
  • Live Demo
  • Read More...
via code.google.com

Posted via web from brandontruong's posterous

Posted by Unknown at 10:41 PM

No comments:

Post a Comment

Newer Post Older Post Home
Subscribe to: Post Comments (Atom)

Twitter

About Me

Unknown
View my complete profile

Blog Archive

  • ▼  2010 (27)
    • ►  July (1)
    • ►  April (1)
    • ►  February (2)
    • ▼  January (23)
      • jQuery UI DatePicker: Disable Specified Days
      • Silverlight Unit Testing Framework: Asynchronous T...
      • Silverlight Unit Testing Framework: Asynchronous T...
      • Unit Tests for ViewModels AND Views in Silverlight
      • ondrejsv | How to: Create a new format for sample ...
      • Jeremy Likness' Blog : Simple Dialog Service in Si...
      • Dynamic tabs using jQuery - why and how to create it
      • Avatar Now the Biggest Movie Ever Worldwide
      • Google Voice Arrives on iPhone With HTML5-Powered ...
      • Designer Developed Social Sharing Tool Userscript ...
      • js-hotkeys - Project Hosting on Google Code
      • 15 jQuery Plugins Giving Web Interfaces Drag ‘N Dr...
      • Behaviors, Triggers and Actions in Silverlight And...
      • Behaviors, Triggers and Actions in Silverlight And...
      • ScrollSpy | David Walsh Blog
      • Microsoft releases an awesome Silverlight 4 Beta C...
      • The Typemock Insider Blog: How to run NUnit tests ...
      • Google Chrome 4.0 For Windows Adds Extensions and ...
      • Silverlight and non-IIS hosted WCF-services
      • An Excel file Viewer in Silverlight 4
      • How Fast Do Friendfeed Results Appear in Google We...
      • Silverlight Unit Testing Framework: Asynchronous T...
      • My First Posterous Post
  • ►  2009 (8)
    • ►  August (4)
    • ►  June (2)
    • ►  January (2)
  • ►  2008 (3)
    • ►  December (3)

FriendFeed widget

FEEDJIT Live Traffic Feed