OpenMenuDelay has no effect

Having problems with DHTML Menu? There is usually somebody here who knows the answer.
Post Reply
sconard
Advanced
Advanced
Posts: 13
Joined: Mon Apr 03, 2006 7:08 pm

OpenMenuDelay has no effect

Post by sconard »

I can set the open menu delay to 8k with no effect. Is this because I am using the openmenusbyurl?

http://www.wrallp.com/testnav/menu.html

_menuCloseDelay=1500;
_menuOpenDelay=8150;
_subOffsetTop=2;
_subOffsetLeft=-2;

with(menuStyle=new mm_style()){
User avatar
Ruth
 Team
 Team
Posts: 8763
Joined: Thu May 15, 2003 5:02 am
Location: Yucaipa, CA
Contact:

Post by Ruth »

Hi,

The OpenMenuDelay property applies to vertical menus, there is a built in default of 150, this is because it's more likely that the mouse pointer might shift up or down in the small area of each vertical main menu item. In a horizontal menu it is less likely that the mouse pointer will shift over to another item since the items are 'wider', whereas in the vertical menus there isn't as much space between items since they are usually something around 20 - 25px high.

Because many asked about a delay for horizontal main menu subs, there is a different property called horizontalMenuDelay which you'd put in that same area i.e. horizontalMenuDelay=true;

I have not used this but I assume [not necessarily a good thing :) ] that whatever menuOpenDelay you list is what the horizontalMenuDelay will read. Hope this helps.

Ruth
Post Reply