Difference between revisions of "Template:Sidebar"
Adelo Vieira (talk | contribs) |
Adelo Vieira (talk | contribs) |
||
Line 331: | Line 331: | ||
} | } | ||
− | function doc_keyUp(e) { | + | // function doc_keyUp(e) { |
− | + | // // This would test for whichever key is 40 (down arrow) and the ctrl key at the same time | |
− | + | // if (e.ctrlKey && e.key === 'ArrowDown') { | |
− | + | // // Call your function to do the thing | |
− | + | // $('#menu').css({'cssText':'display: block !important'}); | |
− | + | // } | |
− | } | + | // } |
// Register the handler | // Register the handler | ||
// document.addEventListener('keyup', doc_keyUp, false); | // document.addEventListener('keyup', doc_keyUp, false); |
Revision as of 00:36, 9 March 2021