How to set fast key like Alt+M on the menuitem ?

Having problems with DHTML Menu? There is usually somebody here who knows the answer.
Post Reply
eliotchung
Beginner
Beginner
Posts: 4
Joined: Tue Dec 12, 2006 3:59 am

How to set fast key like Alt+M on the menuitem ?

Post by eliotchung »

How to set fast key like Alt+M on the menuitem ?
User avatar
Ruth
 Team
 Team
Posts: 8763
Joined: Thu May 15, 2003 5:02 am
Location: Yucaipa, CA
Contact:

Post by Ruth »

Hi,

I'll have to post this to Milonic since I don't really know what this is, however, you can set up the menu to use the tab and arrow keys for navigation. There is a keypress module.

http://milonic.com/menumodules.php

You would place the call for the module after the data file call.

Ruth
eliotchung
Beginner
Beginner
Posts: 4
Joined: Tue Dec 12, 2006 3:59 am

Post by eliotchung »

I know how to set TAB key navigation,
but my question is how to set fast key like Alt+M,
then user can press Alt+M to jump to some menuitem.
User avatar
Andy
Milonic
Milonic
Posts: 3308
Joined: Sun May 19, 2002 8:23 pm
Location: Menu Developer
Contact:

Post by Andy »

Hi,

You cannot use Alt+Key to control the menu because the browser have already caught these keys for its own menu.

I have now added a new property for http://milonic.com/keypress.js called hotKey_F_Number - This is the function (F key) number that you want to use to activate the menu. By default I have set this is to 2 so pressing CTRL+F2 will activate the menu.

All you need to do to implement this is grab another copy of http://milonic.com/keypress.js and update it.

Hope this helps,
Andy
Post Reply