A New JavaScript Library Handles Keyboard Shortcuts
Published April 19th, 2007
Handling Keyboard Shortcuts in JavaScript
This looks like it might be just the ticket I'm seeking to help smooth out a wrinkle on Mars. Seems many Mac users are accustomed to reading web pages by hitting the spacebar to move to the next page. This handy shortcut scrolls the page exactly one page length based on the browser window's current size. Only problem is, on Mars the persistent header screws up the calculation of the browser window size, apparently. I've been wanting to intercept that shortcut and make sure it works properly on Mars, and maybe this library will help make short work of that!
Show Comments