Recent Questions
Q: I have downloaded your trial version and cannot change the background menu color. 
 Is there a restriction? 
 I am interested in purchasing it.
 
A: To change the background color you should set the followingparameters: 
  var menuBackColor="#FCEEB0";
  var itemBackColor=["#FCEEB0","#65BDDC"];
Q: Do you have an extremely simple example of modifying a menu with the JavaScript API? I've played with the example on the site, but I have trouble removing the other menus without breaking it.
 I just want to use the API to change the icon on the menu items.
A: You should use the following function:
function dm_ext_changeItem (menuInd, submenuInd, itemInd, iParams)
<script language="javascript" >
dm_ext_changeItem(0, 0, 1, ["", "", "new_icon.gif", "new_icon_o.gif", "",,""]);
</script>
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.
Q: How do you labeling the various segments of your page to utilize the horizontal menu tabs?
 
A:  See, for each item you should assign the ID property of the contentDIV (see data file with your menu parameters).
 ["Style Name","contentName", "", "", "", "", "1", "", "", ],
 ["-","", "", "", "", "", "0", "", "", ],
 ["Style Description","contentDescription", "", "", "", "", "", "", "", ],
 ["-","", "", "", "", "", "0", "", "", ],
 ["Style Variations","contentVariations", "", "", "", "", "", "", "", ],
 ["-","", "", "", "", "", "0", "", "", ],
 ["Empty","", "", "", "", "", "2", "", "", ],
And on your html page you should create DIV's with such ID.
 <div id="contentName" style="height: 0%; visibility: hidden;" class="tabPage">
 <br><br><br>
 <p align=center><img src="img/style01_title.gif" width=140 height=90 alt="Glass Style Tabs"></p>
 
 <br><br><br>
 You should paste your content here!!!!!
 </div>
 <div id="contentDescription" style="height: 0%; visibility: hidden;" class="tabPage">
 <br><br><br>
 <p align=center><img src="img/style01_title.gif" width=140 height=90 alt="Glass Style Tabs"></p>
 <br><br><br>
 You should paste your description here!!!!!
 </div> 
 You can paste any code within DIV's (PHP, Javascript ...)