Today I was looking for some javascript to add keyboard shortcuts to my project. And after little search on google I came across a very cool and lightweight javascript library shortcuts.js .
This library allows you to make keyboard shortcuts on a fly.
Example:
shortcut(“Ctrl”,function() {
alert(“Hi there!”);
});
Please visit this site to know more about this javascript library.
[...] /2007/04/24/wanna-add-keyboard-shortcuts-to-your-web-application/ Filed under: web, 转贴 — axgle @ 3:11 pm [...]