Recent Questions Js Tree AppendQ:
The text on the dropdown menu item is not centered as it shows in the preview, How do I fix?A: The reason is in your style
Try not to define style for Table, TD, TR elements they can affect themenu.
Set also the following parameter:
You can find more info here:
Now you have:
["#FCLWD-SFCSD Home","http://www.fclwd.com/", "", "", "", "", "", "0", "0", ],
You should write:
["FCLWD-SFCSD Home","http://www.fclwd.com/", "", "", "", "", "", "0", "0", ],
The home page of our website uses java script dhtml. The error comes up when attempting to select a tab for the first time; subsequent selections are fine. The error is something about an object being null. Probably just need to modify a function to test for null, but can't read the .js file because its obfuscated. A: You should set the following java script dhtml parameter.
There are no subitems in your menu.
Thanks, we tried giving var pressedItem=0; and the script as below:
We are facing 2 problems
1) Two menus are getting highlighted, the "Home" and the dynamic html menu which is called onLoad using dm_ext_setPressedItem (0,8,0,0); function)
2) The submenu of the dm_ext_setPressedItem (0,8,0,0) is not getting highlighted. A: Try to set
dm_ext_setPressedItem function has a following parameters:
function dm_ext_setPressedItem (menuInd, submenuInd, itemInd, recursion, parentOpen)
So, if you want to highlight item in the submenu you should use itemInd of this item (notitemInd of the parent item).
For example you want to highlight submenu item of the 'Manage Users' parent item with
You can find more info about dynamic html menu indexes here:
So you should write the function in the following way:
dm_ext_setPressedItem (0, 3, 15, 1, 1)
menuInd = 0 if you have only one menu on the page
submenuInd = 3, see how to determine submenuInd in the table
itemInd = 15, see how to determine itemInd in the table
recursion = 1, to highlight parent items
parentOpen = 1, to open the submenu with the selected item.