Recent Questions
Q: Is it possible to open the dhtml tree to a particular state when a link is chosen from elsewhere in the site (not from a menu link)?
A: function dtreet_ext_expandItem (itemID, expand)
Expands/collapses a specified item or a submenu.
itemID - ID property of an item. expand - 0 - expand the item, 1 - show the item.
For example place to your HTML code
<script>
dtreet_ext_expandItem('dtree_0i2',0);
</script>
For details please see
http://deluxe-tree.com/functions-info.html
Q: I regret to inform you that I have not fail understand, how can change place of the icon in software Deluxe Tuner(Menu).
A: You should add icons for the item in the "Item Parameters" window.
Now you have:
var arrowImageMain=["vertikalno menu.files/icon_office_tuner2.gif","vertikalno menu.files/arrv_black.gif"];
var arrowImageSub=["vertikalno menu.files/arrv_black.gif","vertikalno menu.files/arrv_black.gif"];
But you should add "vertikalno menu.files/icon_office_tuner2.gif" iconin the "Item Parameters" window.
So you will have in your menuItems
var menuItems = [
["New Item","testlink.html", "vertikalno menu.files/icon_office_tuner2.gif", "vertikalno menu.files/icon_office_tuner2.gif", , , , , , ],
["|New Item ","", , , , , , , , ],
["|New Item","", , , , , , , , ],
["New Item","", "vertikalno menu.files/icon_office_tuner2.gif", "vertikalno menu.files/icon_office_tuner2.gif", , , , , , ],
["|New Item","", , , , , , , , ],
["|New Item","", , , , , , , , ],
["New Item","http://deluxe-menu.com/order-purchase.html", "vertikalno menu.files/icon_office_tuner2.gif", "vertikalno menu.files/icon_office_tuner2.gif", , "_blank", , , , ],
["|New Item ","", , , , , , , , ],
["|New Item","", , , , , , , , ],
["New Item","testlink.htm", "vertikalno menu.files/icon_office_tuner2.gif", "vertikalno menu.files/icon_office_tuner2.gif", , , , , , ],
["|New Item ","", , , , , , , , ],
["|New Item","", , , , , , , , ],
Q: I'd like to re order the position of the drop down menu's items (by example) the cities.
A-city
C-city
D-city
B-city
E-city etc.....
B-city had to come under A-city, how can we do that?
Thank you
A: I'm not sure I understand where you would like to change the position.In Deluxe Tuner or dynamically on your html page.
To move items in Deluxe Tuner select items you want and use a mouse drag'n'drop method.
See the attached screenshot. Click on the item you want to move.Move your mouse in the correct place (holding left mouse button).Wait till you'll have gray line in the place where you want to insertthe item and release mouse button.
To dynamically change your items you can use the following API function:function dm_ext_changeItem (menuInd, submenuInd, itemInd, iParams)
See more info:
http://deluxe-menu.com/functions-info.htmlQ: Is there a way I can do an include of a separate file that would contain the
var menuItems = [];
A: You can delete var menuItems = []; and dm_init(); from your data.jsfile and paste it into your html page or in the other file.
You should call at first data.js file with the parameters and thanmenuItems = []; and dm_init();.