Alright so for my website I’d like to enable keyboard shortcuts.
When left or right button is pressed on the keyboard, it opens an URL.
Also binding some other buttons too maybe.
Any clue how I can go about doing this?
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
Using the javascript onkeydown event and getting the key code.
Or using a jQuery-plugin like hotkeys which offers key combinations like ctrl+c.