Recent Questions Ejemplos De Menu Tree En AjaxQ:
My site requires me to regularly update the drop down menu by inserting a new item at the top of the list. A: Add items using the following function:
function dm_ext_addItemPos (menuInd, submenuInd, iParams, Pos)
Adds the new item to a submenu.
menuInd - index of a menu on a page, >= 0.
submenuInd - index of a submenu, >= 0.
iParams = [array] - the array of item parameters.
This parameter has the same structure as an item in menuItems array.
You can assign parameters of another existent item of the menu
(for example, when you want to create a duplicate of the existent item) or create new ones.
Structure of iParams:
[item_text, link, icon_normal, icon_over, tip, target, individual_style_index, jsFilename]
Pos - the position in the menu where you want to add new item.
Find more info:
I am testing it on my website.
I have under the submenu 'Generalites" two links "Presentation" and "Formulaires"
If I click on link Presentation then this link will become in a different color and also its background.
function dtreet_ext_setPressedItem (menuInd, itemID)
Please, see here:
You can also set
var tsaveState = 1;
More info you can find
To expand specific items you should use API function
function dtreet_ext_expandItem (itemID, expand)
Looks like my submenu text is too long for the background.
How can I ensure the background is the same length as the longest word in my java edit menu submenu list. A: Try to change the following parameter:
Please could you tell us how to correct this. A: See, transitional effects (shadow) are features of Internet Explorer 5.5+ only.
More info you can find here: