Tilted Forum Project Discussion Community

Tilted Forum Project Discussion Community (https://thetfp.com/tfp/)
-   Tilted Technology (https://thetfp.com/tfp/tilted-technology/)
-   -   Making Hotkeys (https://thetfp.com/tfp/tilted-technology/91976-making-hotkeys.html)

soma 07-14-2005 12:46 PM

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.

d*d 07-15-2005 04:31 AM

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.

feelgood 07-15-2005 01:26 PM

<input type="button" name="somebutton" accesskey="Q">

soma 07-15-2005 06:06 PM

Quote:

Originally Posted by feelgood
<input type="button" name="somebutton" accesskey="Q">

How can you make it so the hotkey does not require the [alt] button to be pressed? If you know, I would really really appreciate if you would explain it to me :) .

feelgood 07-15-2005 07:16 PM

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.

soma 07-16-2005 08:20 AM

I'll look into that. Thanks.


All times are GMT -8. The time now is 02:38 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


1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76