473,287 Members | 1,629 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,287 software developers and data experts.

Keyboard accessible menu

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
3 3568
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

"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
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 thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

1
by: Fabian | last post by:
I have a script that intercepts the arrow keys. I also have a dropdown menu using SELECT tags. However, when the dropdown menu has the focus, I do not want the script to intercept the keyboard. How...
2
by: Jan Winnicki | last post by:
i'm making console app, and its main menu looks like this: Main menu Option 1 Option 2 Option 3 user should hit eg 1 on keyboard to choose Option 1 etc
1
by: Sylwia | last post by:
Hi! I'm writing an application that runs in a 'Full screen' mode. I do not want any other windows (as well as the desktop) to be accessible while my application is running. My problem is that...
2
by: Christoph Brüser | last post by:
Hi, in my application I want to react to certain keys when a context menu is showing. So I installed a keyboard hook, but now whenever a key is pressed when the menu is showing, the application...
1
by: WJ | last post by:
How do I set the AccessKey property of a Web Label control on my Asp.Net ? Ex: Lebel Text Name is "Name", I like to see letter "N" underlined so that I can use ALT+N to force the system focus on...
0
by: luc.saffre | last post by:
Hello, I thought that I should ask here for comments on a blog entry that I wrote some weeks ago. I am sure that other people have been thinking about this, but I didn't yet find them. The...
2
by: Swan | last post by:
How can I restrict alt+tab and start menu from keyboard while program executing(VB)?I am posting what I tried-- form.frm Option Explicit Private Sub Form_Load() HookKeyboard End Sub...
8
by: BD | last post by:
How can I duplicate the behavior of the operating system shortcut keys in my application? For example, my windows form has 5 controls (textboxes), the operating system will pickup which control...
2
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 7 Feb 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:30 (7.30PM). In this month's session, the creator of the excellent VBE...
0
by: MeoLessi9 | last post by:
I have VirtualBox installed on Windows 11 and now I would like to install Kali on a virtual machine. However, on the official website, I see two options: "Installer images" and "Virtual machines"....
0
by: DolphinDB | last post by:
The formulas of 101 quantitative trading alphas used by WorldQuant were presented in the paper 101 Formulaic Alphas. However, some formulas are complex, leading to challenges in calculation. Take...
0
by: Aftab Ahmad | last post by:
Hello Experts! I have written a code in MS Access for a cmd called "WhatsApp Message" to open WhatsApp using that very code but the problem is that it gives a popup message everytime I clicked on...
0
by: Aftab Ahmad | last post by:
So, I have written a code for a cmd called "Send WhatsApp Message" to open and send WhatsApp messaage. The code is given below. Dim IE As Object Set IE =...
0
by: ryjfgjl | last post by:
ExcelToDatabase: batch import excel into database automatically...
0
by: marcoviolo | last post by:
Dear all, I would like to implement on my worksheet an vlookup dynamic , that consider a change of pivot excel via win32com, from an external excel (without open it) and save the new file into a...
1
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
1
by: PapaRatzi | last post by:
Hello, I am teaching myself MS Access forms design and Visual Basic. I've created a table to capture a list of Top 30 singles and forms to capture new entries. The final step is a form (unbound)...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.