Recent Questions Infragistics Build Dynamic Web Tree ExampleQ:
You can use templates, add '$' symbol and adjust some parameters.
Is it possible to change from a default target setting for all links to _self target for onsite links and _blank target for offsite links? A: You can set target parameter for each item.
See menuItems parameter:
var menuItems =
["|Our Products","testlink.html","icon1.gif","icon2.gif","Our Products Tip","_blank",,"0"],
Is it possible to insert an item at the top of the submenu in the html popup menu? A: To insert item in the specific position you should use 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. See more info about indexes here.
iParams = [array] - the array of item parameters.
Pos - the position in the menu where you want to add new item.
More info you'll find here:
I am evaluating your product and would like to display my top menu without a border, but have the dropdown (child menus) all have a border and shadow.
If I change the menuBorderWidth to anything but 0, I get a menu on both the top menus and dropdowns. I need a topBorderWidth and a childBorderWidth.
Is there any way to accomplish this? A: Yes, you can do it.
To set border for submenus you should use Individual Submenu styles, for example:
var menuStyles = [
["menuBorderWidth=1","menuBorderColor=#9A9CA7"], //style 0
var menuItems = [
["Home","testlink.html", , , , , , , , ],
["Product Info","", "default.files/icon1.gif", "default.files/icon1o.gif", , , , , , ],
["|Features","testlink.html", "default.files/icon2.gif", "default.files/icon2o.gif", , , , "0", , ], //style 0
["Samples","", "default.files/icon1.gif", "default.files/icon1o.gif", , , , , , ],
["|Sample 1","testlink.html", "default.files/icon6.gif", "default.files/icon6o.gif", , , , "0", , ], //style 0
["|Sample 2 is Disabled","testlink.html", "default.files/icon6.gif", "default.files/icon6o.gif", , "_", , "-1", , ],
You should assign style for the first item in the submenu.