horizontalMenuDelay help?
horizontalMenuDelay help?
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
Hi JT,
You put
or
(whatever your preference) at the top of your menu_data.js files, where the other globals like _menuCloseDelay and _menuOpenDelay are defined.

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
You put
Code: Select all
horizontalMenuDelay = 1;
Code: Select all
horizontalMenuDelay = true;
I could be wrong, but I think this thread might be it so farjtrout wrote:Is there documentation somewhere about the new horizontalMenuDelay flag?

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