Recent Questions
Q: 1) Can any HTML be inserted in to the text?
2) As the item has no link, how can I prevent the item being highlighted on mouseover?
A: 1) Yes, you can insert any html code within menuItems, for example:
["|You can place <b>any HTML code</b><br> to item, for example <u>image</u>:<br><img src=img/logo.gif>","testlink.html"],
["|Index <select style='width:120px;height:17px;font:normal 10px Tahoma,Arial;'><option>Section 1<option>Section 2<option>Section 3</select>", "", "", "", "", "", "", ""],
["|Search <input type=text style='width:80px;height:17px;font:normal 10px Tahoma,Arial;'> <input type=button value='Go' style='width:30px;height:17px;font:normal 10px Tahoma,Arial;'>", "", "", "", "", "", "", "0"],
["|Write Us", "mailto:[email protected]", ""],
2) Yes, you can do it.
You should create Individual Style for it.
For example:
var itemStyles = [
["itemBackColor=#FCEEB0,#FCEEB0","itemBorderColor=,#FCEEB0","fontColor=,#000000"], //style0
];
["Product Info","", "default.files/icon1.gif", "default.files/icon1o.gif", , , "0", , , ], //style0
Q: Hi, I was wondering if there is a way to leave a main java swing menu bar item highlighted when in that section. For example if I clicked on "Contact Us" and when I am on the contact us page, the "Contact us" navigation would still be highlighted. I appreciate any help you might have, thanks!
A: The java swing menu bar has only two states normal and mouseover. We'll try to add the pressed state in the future.
You can set a pressed item using Javascript API:
function dm_ext_setPressedItem (menuInd, submenuInd, itemInd, recursion)
Sets a current pressed item.
menuInd - index of a menu on a page, >= 0.
submenuInd - index of a submenu, >= 0.
itemInd - index of an java swing menu bar item, >=0.
recursion = true/false - highlight parent items.
But notice, to use dm_ext_setPressedItem() you should know ID of selected item and subitem. You can't get this ID after you reload your page. That is why you should write your own code on PHP.
Q: I have downloaded the trial version of the tree menu to use it to create our products list that will be distributed on a CD. We have decided to buy it but we are confused which license we should buy!
Which license we should buy?
A: To use Deluxe Tree on CD/DVD you should buy developer license.
Other licenses allow you to use the menu on Internet / Intranetwebsites only.
With the Developer license you can use the menu on an unlimited number ofInternet or Intranet sites and on the local machines.
This version of the script doesn't check keys and it isn't bound to adomain name, so it can be used with an application that doesn't have afixed domain name. There is also no need to add <noscript> tag to eachpage.
See in Single Website License, Multiple Website License and DeveloperLicense our source code is obfuscated.
And in Developer License with Javascript Source Code you can see thecode and change it. This is unique difference between Developerlicense and Developer license with source code.
Q: We use the state saving feature of your menu on our site. I wanted to know if this implements cookies at all, or how it interacts with visitors to the site. This is only so we can have an accurate privacy policy.
A: Deluxe Tree saves it's state using cookies.