[Javascript] Keyboard navigation

Mike Dougherty mdougherty at pbp.com
Wed May 26 09:56:00 CDT 2004


http://www.w3schools.com/dhtml/dhtml_object_event.asp

or an example (using .shiftKey rather than .altKey)
http://www.w3schools.com/dhtml/tryit.asp?filename=try_dom_event_shiftkey

You could trap the keypress event at the document level, and trigger code from there....

On Wed, 26 May 2004 14:40:15 +0000
  "Paul Cowan" <dagda1 at hotmail.com> wrote:
>Hi,
>
>I need to implement a way of allowing a user to be able to pull down menu options from my pages 
>by using keypresses.  Ideally I want to simulate the behouir that happens in windows e.g. 
>whenever I press alt and the 'f' key, the file menu drops down.  Then whenever I press the down 
>key, I can scroll up and down the menu options.
>
>Is this possible using javascript?  Or how on earth can I do this??



More information about the Javascript mailing list