Milonic provide full featured pull down web menus for some of the worlds largest companies
click here to see what it can do for you

Download Milonic DHTML Menu
Buy Milonic DHTML Menu

Back To Start Of Archive
Taken From The Forum: Help & Support for DHTML Menu Version 5+
Forum Topic: Click to view post
Last Updated: Saturday July 14 2012 - 06:07:45

keypress.js


Poster: twing
Dated: Friday May 6 2005 - 8:08:04 BST

I have a drop down menu using keypress.js to make the menu accessible through tab key.

When the page displayed by the browser, pressing tab doesn't make the menu highlighted.
It only works if I hover the mouse on the menu first (to make the menu appear).

Has anyone get the same problem?

Thanks for the help,


Poster: Ruth
Dated: Friday May 6 2005 - 9:29:19 BST

Could you possibly post a test page so we can see what's happening? What do you mean by doesn't make the menu highlight unless you hover over it to make it appear? Are you talking about page highlighting are you talking about the submenus? When I try using it, it opens the submenus of the item when I use the tab. So, we'd need to see your page to see what is going on.

Ruth


Poster: shong
Dated: Friday May 6 2005 - 20:54:42 BST

I have a similar issue. My menu is set up so the user has to click on it to display the menu items. So unless the menu item is displayed by clicking on it first, the tag does not work.

Do I have to set it up so the menu items are displayed when you hover over it before the tab will work?


Poster: Ruth
Dated: Friday May 6 2005 - 22:09:05 BST

The keypress will still work when the menus are set to open on click, however to make it work when a menu is highlighted by keypress and has a submenu that opens on click, then the person has to hit enter to have it open. That means that you have to 1) somehow notify a person when they are on a menu with a submenu, and 2) that they have to hit enter to see the submenu.


In reality, though the keypress will work with openonclick if the above is done, you probably would be best to have the menus open on mouseover.

I don't know if it would be possible to have some kind of javascript function that would turn the openonclick property off if the menu is being perused by tab using the keyaccess, but that's something you might check out.

Ruth

Fixed


Poster: twing
Dated: Monday May 9 2005 - 5:47:04 BST

The tabbing works if the url property exist. I used clickfunction. Thanks for the keypress.js.


Poster: Ruth
Dated: Monday May 9 2005 - 6:40:04 BST

Thanks for the info, Twing. I never thought to put in a url :oops:

It's nice when the info gets posted so others can see :D

Ruth