horizontalMenuDelay help?

Having problems with DHTML Menu? There is usually somebody here who knows the answer.
Post Reply
jtrout
Advanced
Advanced
Posts: 14
Joined: Mon Jun 14, 2004 6:57 pm
Location: Boulder, CO
Contact:

horizontalMenuDelay help?

Post by jtrout »

I've been anxiously awaiting v5.22 for the horizontalMenuDelay feature - awesome work, this version fixes two problems I was having, so I'm pleased as punch. Is there documentation somewhere about the new horizontalMenuDelay flag? I can't seem to get that one to work. Also, when set to true, does it apply the menuOpenDelay amount to the top level menu? Thanks so much!
~JT
User avatar
kevin3442
Milonic God
Milonic God
Posts: 2460
Joined: Sat Sep 07, 2002 12:09 am
Location: Lincoln, NE
Contact:

Post by kevin3442 »

Hi JT,

You put

Code: Select all

horizontalMenuDelay = 1;
or

Code: Select all

horizontalMenuDelay = true;
(whatever your preference) at the top of your menu_data.js files, where the other globals like _menuCloseDelay and _menuOpenDelay are defined.
jtrout wrote:Is there documentation somewhere about the new horizontalMenuDelay flag?
I could be wrong, but I think this thread might be it so far ;)
jtrout wrote:Also, when set to true, does it apply the menuOpenDelay amount to the top level menu?

By default, _menuOpenDelay and _menuCloseDelay only affect submenus that open from a vertical parent menu. Setting horizontralMenuDelay = 1 will make _menuOpenDelay and _menuCloseDelay apply to all submenus, regardless of the parent menu's orientation.

There is no effect on menus set to alwaysvisible=1; they appear immediately, as always.

Hope that helps,

Kevin
Post Reply