public marks

PUBLIC MARKS from decembre with tags clavier & webdesign

17 January 2009 22:00

Handling Keyboard Shortcuts in JavaScript

by 8 others
Despite the many JavaScript libraries that are available today, I cannot find one that makes it easy to add keyboard shortcuts(or accelerators) to your javascript app. This is because keyboard shortcuts where only used in JavaScript games - no serious web application used keyboard shortcuts to navigate around its interface. But Google apps like Google Reader and Gmail changed that. So, I have created a function to make adding shortcuts to your application much easier.