Set a menu item to pressed when a page is loaded.
Return to Recent Questions
Q:
I want to know how I can set a menu item to pressed
when a page is loaded in javascript drop down menus.
A:
You should set a pressed item using Javascript API:
function dm_ext_setPressedItem (menuInd, submenuInd, itemInd, recursion)
Sets a current pressed item.
menuInd - index of a menu on a page, >= 0.
submenuInd - index of a submenu, >= 0.
itemInd - index of an item, >=0.
recursion = true/false - highlight parent items.
Return to Recent Questions
|