Keyboard accessible menu

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • Andrus Moor

    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.


  • Jim Ley

    #2
    Re: Keyboard accessible menu

    On Mon, 14 Jul 2003 14:16:03 +0300, "Andrus Moor"
    <nospam_eetasof t_@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.javas cript FAQ - http://jibbering.com/faq/

    Comment

    • Andrus Moor

      #3
      Re: Keyboard accessible menu


      "Jim Ley" <jim@jibbering. com> wrote in message
      news:3f12c456.4 3990915@news.ci s.dfn.de...[color=blue]
      > On Mon, 14 Jul 2003 14:16:03 +0300, "Andrus Moor"
      > <nospam_eetasof t_@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.


      Comment

      • Jim Ley

        #4
        Re: Keyboard accessible menu

        On Tue, 15 Jul 2003 09:53:53 +0300, "Andrus Moor"
        <nospam_eetasof t_@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.javas cript FAQ - http://jibbering.com/faq/

        Comment

        Working...