{"id":40,"date":"2007-07-21T23:59:26","date_gmt":"2007-07-21T18:29:26","guid":{"rendered":"http:\/\/www.bin-co.com\/blog\/2007\/07\/keyboard-shortcuts-javascript-library\/"},"modified":"2007-07-21T23:59:26","modified_gmt":"2007-07-21T18:29:26","slug":"keyboard-shortcuts-javascript-library","status":"publish","type":"post","link":"https:\/\/www.bin-co.com\/blog\/2007\/07\/keyboard-shortcuts-javascript-library\/","title":{"rendered":"Keyboard Shortcuts JavaScript Library"},"content":{"rendered":"<p class=\"intro\">I have created the second version of the <a href=\"http:\/\/www.openjs.com\/scripts\/events\/keyboard_shortcuts\/\">JavaScript Shortcut Library<\/a>. It is one of my more <a href=\"http:\/\/www.dzone.com\/links\/handling_keyboard_shortcuts_in_javascript.html\">popular<\/a> <a href=\"http:\/\/ajaxian.com\/archives\/handling-keyboard-shortcuts-in-javascript\">scripts<\/a>. This script eases the work involved in making shortcuts in JavaScript.<\/p>\n<blockquote><p>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 &#8211; 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.<\/p><\/blockquote>\n<h2>Changelog<\/h2>\n<ul>\n<li>The single function method was abandoned for an object with two functions<\/li>\n<li>Shortcut Remove function added<\/li>\n<li>New option to disable shortcuts in textarea, input fields.<\/li>\n<\/ul>\n<p>If you are using this script in any of your projects, please switch to the latest version.<\/p>\n<p><a href=\"http:\/\/www.openjs.com\/scripts\/events\/keyboard_shortcuts\/v1.php\">Previous Version Documentation<\/a><\/p>\n","protected":false},"excerpt":{"rendered":"<div class=\"mh-excerpt\"><p>I have created the second version of the JavaScript Shortcut Library. It is one of my more popular scripts. This script eases the work involved <a class=\"mh-excerpt-more\" href=\"https:\/\/www.bin-co.com\/blog\/2007\/07\/keyboard-shortcuts-javascript-library\/\" title=\"Keyboard Shortcuts JavaScript Library\">[&#8230;]<\/a><\/p>\n<\/div>","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[3,4,15,25,29,30],"tags":[144,155,160,165,198,245,256],"class_list":["post-40","post","type-post","status-publish","format-standard","hentry","category-accessibility","category-ajax","category-javascript","category-scripts","category-web20","category-web-development","tag-iis","tag-javascript","tag-keyboard","tag-library","tag-openjs","tag-script","tag-shortcut"],"_links":{"self":[{"href":"https:\/\/www.bin-co.com\/blog\/wp-json\/wp\/v2\/posts\/40","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.bin-co.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.bin-co.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.bin-co.com\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.bin-co.com\/blog\/wp-json\/wp\/v2\/comments?post=40"}],"version-history":[{"count":0,"href":"https:\/\/www.bin-co.com\/blog\/wp-json\/wp\/v2\/posts\/40\/revisions"}],"wp:attachment":[{"href":"https:\/\/www.bin-co.com\/blog\/wp-json\/wp\/v2\/media?parent=40"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.bin-co.com\/blog\/wp-json\/wp\/v2\/categories?post=40"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.bin-co.com\/blog\/wp-json\/wp\/v2\/tags?post=40"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}