Shindig
12-24-2004, 05:23 PM
I would like to know how to use the onkeydown event to record when I use the arrow keys.
Also, I would like that when my arrow keys are pressed, it goes to a link.
For example, if I pressed my up arrow key it would go to http://www.google.com, if I pressed my down arrow key it would go to http://www.yahoo.com, etc.
the key numbers are:
Left Arrow = 37
Up Arrow = 38
Right Arrow = 39
Down Arrow = 40
Thanks for any help. :)
Also, I would like that when my arrow keys are pressed, it goes to a link.
For example, if I pressed my up arrow key it would go to http://www.google.com, if I pressed my down arrow key it would go to http://www.yahoo.com, etc.
the key numbers are:
Left Arrow = 37
Up Arrow = 38
Right Arrow = 39
Down Arrow = 40
Thanks for any help. :)