Recent Questions Dynamically Generate Tree ContentQ:
My client wants their drop down navigation to lock into place when someone visits a page. Is there a way to do this?
Right now it disappears when you click the link. A: I suppose that you're saying about submenus.
Try to set the pressed item using the following API function:
function dm_ext_setPressedItem (menuInd, submenuInd, itemInd, recursion, parentOpen)
Sets a current pressed item.
menuInd - index of a dynamic menu on a page, >= 0.
submenuInd - index of a submenu, >= 0.
itemInd - index of an item, >=0.
recursion = true/false - highlight parent items.
parentOpen = true/false - open all submenus to show the selected item
See example here:
Try to click 'Highlight "Product Info/Installation/Description ofFiles" item'.
You can also try to use the following parameter:
var smHidePause = 1000;
A delay (in ms) between mouse is moved from submenu and its closing.
You can make submenus to stay visible till you click outside the menu or scroll your page.
To enable this feature you should set this parameter in the following way: var smHidePause = -1; Q:
I just downloaded the beta for IE8
And it looks like the java script menu code has a lot of issues with it. Are you guys going to be supporting IE8?A: Yes, we're planning the full support for IE8 as well as for all major browsers.
All issues will be fixed with final version of IE8.
I need to be able to highlight the selected menu item of the currentpage in the html tree menu.
Is there a way to do this?A: Please, try to set this parameters:
var ttoggleMode = 1; Enables a toggle-mode. 0 - disabled, 1 - items stay highlighted after mouse click.
var tpressedFontColor = "#AA0000";