Recent Questions
Q: After creating and using a menu, is it possible to insert/change the position of a menu item?
For instance, I am using years in a submenu and the current year always needs to be at the top.
Is this possible with drag and drop or by some other means in the Tuner v2?
A: Yes you can do it.
You can find all info in our Help.
Please, see the text below:
To select a group of items you can use Shift and Ctrl keys.
To rename an item click on it and hold a mouse cursor for a second. Or use item parameters window.
To move items select items you want and use a mouse drag'n'drop method.
To copy items select those you want and use a mouse drag'n'drop method holding a Ctrl key.Also you can use a contextual menu - a right mouse click on the list of items.
Q: I am planning to use the deluze Menu for my web site I am making some examples to see how it Works, I am using a Tab vertical java menu and I cannot make it posible to make the link to another page.
A: Try to write your link in the following way:
["Item","link:http://deluxe-menu.com", "", "", "", "", "", "", "", ],
Q: I was wondering if there is a way to disable links in the dhtml context menu on a page.
A: To disable your menu items you should set the following parameter to disable all items:
var itemTarget="_";
Or you can disable items individually.
["Home","testlink.html", "", "", "", "_", "", "", "", "", "", ], //disabled
["Product Info","", "", "", "", "", "", "", "", "", "", ],
["|Features","testlink.html", "", "", "", "_", "", "", "", "", "", ], //disabled
["|Installation","", "", "", "", "", "", "", "", "", "", ],
You can also use function dm_ext_changeItem (menuInd, submenuInd, itemInd, iParams)
function to disable items on-the-fly, for example:
dm_ext_changeItem (0, 2, 3, ["", "", "", "", "", "_", "", "", ""]);
Q: I would like to add the javascript API to a link contained in my website that will have the corresponding item in the deluxe-tree menu act as if it was "clicked".
Presumably I need to add the script (for example) <A HREF="http://deluxe-menu.com/features-info.html" TARGET="_self" "..javascriptHere ..">. Can you give me an example please of what code goes into there.
I presume I use dm_ext_setPressedItem (menuInd, submenuInd, itemInd, recursion) but where do I get the ????Ind data from and make the javascript call in the above link.
A copy of a working example together with where to get the data , perhaps on your own web pages, would help.
A: Deluxe Tree doesn't save a presseditem as it saves a tree state. It works within 1 page only and if youreload the page you should set a pressed item using Javascript API:
function dtreet_ext_setPressedItem (menuInd, itemID)
<script type="text/javascript">
var i = <?php echo $selitem; ?>;
onload=setPressed;
function setPressed()
{
dtreet_ext_setPressedItem(0,dtreet_ext_getItemIDByIndex(0, i));
}
</script>
You should define selitem using server side script.