![]() |
Making Hotkeys
Hi,
I want to know how I can make it, so that in a webpage, you can press ... let's say the "n" key, which will bring you to http://www.yahoo.com. I know you can do this sort of thing using gmail (to compose new messages, reply to messages etc.) and I want that on my site too. Any help would be appreciated. |
not sure which programming language supports hot keys, or how it could be implemented without submitting to refresh the browser. Possibly an AJax http://en.wikipedia.org/wiki/AJAX solution might be found. I know this would be possible in flash using actionscripting.
|
<input type="button" name="somebutton" accesskey="Q">
|
Quote:
|
Not sure actually, if you ask me, it's kinda bad HCI design to create a page that contains hotkeys that can be easily get hit accidentally and the user may get confused as to why the webpage has just changed to www.yahoo.com.
If you really want to, you could theorically speaking use JSP which would implment a keystroke listener, I can't really help you too much on that one since I haven't done that sort of thing. |
I'll look into that. Thanks.
|
All times are GMT -8. The time now is 04:28 PM. |
Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2025, vBulletin Solutions, Inc.
Search Engine Optimization by vBSEO 3.6.0 PL2
© 2002-2012 Tilted Forum Project