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:31

Keypress - only the tab key works.


Poster: richards
Dated: Sunday August 5 2007 - 12:18:17 BST

Conditions: MM Version 5.777 using php and mysql - the menu is embedded within a table. The tab key works, the enter key works only when located on an actual function. The arrow keys do not work, and the enter key doesn't work for submenus.

Example: http://Waterfordbikes.com/!

Any thoughts?

Thanks.


Poster: Ruth
Dated: Monday August 6 2007 - 2:50:09 BST

Hi,

I can't find the milonic menu on that page. I find no milonic files listed.

Ruth

Re: Keypress - only the tab key works.


Poster: richards
Dated: Monday August 6 2007 - 5:01:21 BST

Try this URL:

http://waterfordbikes.com/!/index.php

The use of an "!" as a directory name makes the link tricky.

Please try again.

Thanks.


Poster: Ruth
Dated: Monday August 6 2007 - 5:35:25 BST

Hi,

Well, a couple of things. One, you have the menu set up to be in a table it seems. You need to add position="relative"; to the main menu and you also need to put in buildAfterLoad=true; up after the the delay and subOffset section. That's based on what I see as your setup. Please see the sticky on this forum about putting menus in tables/divs relatively positioned.

I also don't know why you have a drawmenus at the end of every submenu maybe something to do with the mysql about which I know nothing. Anyway, if you look on the main site, Milonic uses a menu_data.php file and the keypress.js module call is after that. So, taking it from that, I am figuring you will need to have

Code:
<script language="JavaScript" src="keypress.js" type="text/javascript"></script>   
after your last
Code:
drawMenus(); </script>
I put it after the break code in that table cell. It worked then.

Ruth