Recent Questions Html Tree ExamplesQ: My pop out menus in the vertical navigation bar appear on the left instead of the right.
A: You can try to change the following parameter:
I have a menu with one "root" item. I see the use of the "+" symbol within the item name. I do not see any documentation regarding this symbol, only "|". Can you explain?
If I have one menu with this one "root" node, how would I add an subitem to this root node?
Here is my code so far, but the inserted items appear to be at the same level as the root node.
var rootItem = dtreet_ext_getItemIDByIndex ( 0,0 );
var menuItem = new Array(10);
for ( var i = 0; i < producers.length; i++ )
var producer = producers[ i ];
menuItem = producer.name;
dtreet_ext_insertItem ( 0, 0, i + 1, menuItem );
A: See dtreet_ext_insertItem () function has the following parameters:
function dtreet_ext_insertItem (menuInd, parentItemID, itemInd, itemParams)
Creates a new item and inserts it into a specified position.
parentItemID - ID property of an item.<, >= 0.
itemParams - item parameters.
Notice that parentItemID is the Id property of the parent item (notindex). If you want to add top items you should set parentItemID=0.
itemInd - you should use this parameter if you want to add item in thespecific place, for example set itemInd=5 if you want to add itembefore the existing item with itemInd=5.
If you set itemInd=null the new item will be added at the end of this submenu and its index will be added automatically.
Q: Your product seems to have menus draw only in a fixed 'hardcoded' direction ( opens either left or right )
is it possible to customize so that it is "self-aware" of the client browser window size...
"if there's room draw to the right, if not, open the menu to the left..."
A: You can see your submenus in any case.
They won't drop down out of the browser window.
Please, check it.
More info about the ways of showing submenus you can find here:
A: See, if you load a different page in your popup window (iframe) suchlink won't work in it.
If you add the content of the mouseover popup window in DIV (so, it will be thesame page) such link will work.