Connecting Tech Pros Worldwide Forums | Help | Site Map

Keyboard accessible menu

Andrus Moor
Guest
 
Posts: n/a
#1: Jul 20 '05
I want to use the keyboard keys for navigation in menu:

1. Alt+hotkey must activate menu bar
2. Left and right arrow must move between menus,
3. Up and Down arrow move between menu items.
4. Enter key must select menu item.

Basically, I want the menu to behave like ordinary OS menu.

I have searched the whole web but havent find any such sample.

Any sample of such menu script ?

Andrus.



Jim Ley
Guest
 
Posts: n/a
#2: Jul 20 '05

re: Keyboard accessible menu


On Mon, 14 Jul 2003 14:16:03 +0300, "Andrus Moor"
<nospam_eetasoft_@online.ee> wrote:
[color=blue]
>I want to use the keyboard keys for navigation in menu:
>
>1. Alt+hotkey must activate menu bar
>2. Left and right arrow must move between menus,
>3. Up and Down arrow move between menu items.
>4. Enter key must select menu item.
>
>Basically, I want the menu to behave like ordinary OS menu.[/color]

Then leave it to HTML, since the browser is the only thing in the loop
which knows what the ordinary OS menu behaves like.

ACCESSKEY is presumably the piece of HTML you're missing.

Jim.
--
comp.lang.javascript FAQ - http://jibbering.com/faq/

Andrus Moor
Guest
 
Posts: n/a
#3: Jul 20 '05

re: Keyboard accessible menu



"Jim Ley" <jim@jibbering.com> wrote in message
news:3f12c456.43990915@news.cis.dfn.de...[color=blue]
> On Mon, 14 Jul 2003 14:16:03 +0300, "Andrus Moor"
> <nospam_eetasoft_@online.ee> wrote:
>[color=green]
> >I want to use the keyboard keys for navigation in menu:
> >
> >1. Alt+hotkey must activate menu bar
> >2. Left and right arrow must move between menus,
> >3. Up and Down arrow move between menu items.
> >4. Enter key must select menu item.
> >
> >Basically, I want the menu to behave like ordinary OS menu.[/color]
>
> Then leave it to HTML, since the browser is the only thing in the loop
> which knows what the ordinary OS menu behaves like.
>
> ACCESSKEY is presumably the piece of HTML you're missing.[/color]

Are there any samples about using keyboard enabled menu? I think I can
implement this only for IE and leave this functionality not implemented in
Mozilla.

I have seen a sample which uses buttons as main menus
http://www.webreference.com/dhtml/column29/6.html it uses accesskey for
main menu bars.

However, I want to select also menu sub-item from keyboard only.


Jim Ley
Guest
 
Posts: n/a
#4: Jul 20 '05

re: Keyboard accessible menu


On Tue, 15 Jul 2003 09:53:53 +0300, "Andrus Moor"
<nospam_eetasoft_@online.ee> wrote:
[color=blue]
>Are there any samples about using keyboard enabled menu? I think I can
>implement this only for IE and leave this functionality not implemented in
>Mozilla.[/color]

All good menu systems should work fine with the tab key, that is how
you navigate through menus in my OS...
[color=blue]
>However, I want to select also menu sub-item from keyboard only.[/color]

If you want to do it with other keys you'll have to invent yourself.
It should be possible in IE and Mozilla and many others.

Jim.
--
comp.lang.javascript FAQ - http://jibbering.com/faq/

Closed Thread