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 Brandon Truong at 10:41 PM

0 comments:

Post a Comment

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

Twitter

About Me

My Photo
Brandon Truong
Sydney, NSW, Australia
I am web developer, currently working on some Silverlight projects. I am keen on pretty much everything about WEB as you can see that most of my blogs are about web development.
View my complete profile

Blog Archive

  • ▼  2010 (27)
    • ►  July (1)
      • Winamp Tool kills Silverlight application
    • ►  April (1)
      • Use Enum as ItemsSource
    • ►  February (2)
      • Creating a Three-Column Silverlight ListBox
      • jQuery source viewer
    • ▼  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 ...
      • 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)
      • Default Focus Behavior
      • TextWraping in Silverlight
      • Datagrid Missing Binding Error
      • UpperCase Behavior
    • ►  June (2)
      • FocusManager
      • Binding for Converter Parameter
    • ►  January (2)
      • How to Change the Startup Class
      • How to Create A Badge Of Your Facebook
  • ►  2008 (3)
    • ►  December (3)
      • Selecting a Block of text
      • Selecting a Block of text
      • Silverlight Toolkit: Label

FriendFeed widget

FEEDJIT Live Traffic Feed

Amazon SearchBox