By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
459,382 Members | 1,623 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 459,382 IT Pros & Developers. It's quick & easy.

Keyboard accessible menu

P: n/a
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.
Jul 20 '05 #1
Share this Question
Share on Google+
3 Replies


P: n/a
On Mon, 14 Jul 2003 14:16:03 +0300, "Andrus Moor"
<no**************@online.ee> wrote:
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.


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/

Jul 20 '05 #2

P: n/a

"Jim Ley" <ji*@jibbering.com> wrote in message
news:3f***************@news.cis.dfn.de...
On Mon, 14 Jul 2003 14:16:03 +0300, "Andrus Moor"
<no**************@online.ee> wrote:
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.


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.


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.
Jul 20 '05 #3

P: n/a
On Tue, 15 Jul 2003 09:53:53 +0300, "Andrus Moor"
<no**************@online.ee> wrote:
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.
All good menu systems should work fine with the tab key, that is how
you navigate through menus in my OS...
However, I want to select also menu sub-item from keyboard only.


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/

Jul 20 '05 #4

This discussion thread is closed

Replies have been disabled for this discussion.