Recent Questions
Q: You've been helping me with some issues on the Deluxe Tree Menu system my company has purchased and most issues are resolved, so thank you! One big problem remains though and we can't seem to figure it out, so I hope you can help. 
What we want is, when a user enters our site from the index (home) page then clicks on a link and the sub-page opens, for the dhtml menu tree to be open to the section the user is in and viewing. We also DO NOT want the browser to save the state of the menu, since that is inconsistent with where the user is in the site. Note: we do not use the Menu on the home page, is this a problem? 
Per your tech support email, I've added the expand code, which works going from the home page to sub-pages. However, it interferes with navigating to other sub-pages once your in the site. The menu doesn't keep the section open, it closes back up. You mentioned the expand code has to be entered on every page....is that so in this instance and if so, that's a maintenance nightmare - does a better way exist for this type of menu? 
Then we activated the "save state" option and the menu stays open on the sub-pages, but the expand option doesn't work.
It's like they cancel each other out and you can only have one or the other. 
Can I get these two to work together? What do I need to do? Is it better to use the XP-style menu? 
A:  When user clicks the link, the browser loads a new page and the script re-create the dhtml menu tree.
If you want to open the needed section automatically on load you can use the following:
1. Save the state to cookies
2. Use frames
3. Put the special script on each page of site that will open appropriate section.
 (dtreet_ext_expandItem)
Q: I am evaluating your fine menu builder application. 
 Please let me know the following: 
 a) How could I call a script instead of specifying a link? 
  ["|Product A","http://dhtml-menu.com","","","",,"0",], 
 b) If the above is possible, please let me know how, in the called script, I could know where the call to the script come from.
 
A:  You can use your own javascript functions in the menu items. 
You should paste "javascript:some_function()" into item's link field, for example: 
  var menuItems = [ 
["text", "javascript:your_function(...)", ...] 
];
Q: I have a top horizontal menu with one level sub-menus. 
I am using images for the rollover (on & off). I don’t need the generated text on the main menu, only on the submenus. 
??? How do I eliminate the text and only have roll-overs?
A: You should delete item's text: 
 ["","testlink.html", "image.gif", "imageo.gif", "", "", "", "", "", ],
Q: Is there any way I can do the opposite and make the space my separators take up only a few pixels high? At present I can only make them the same height as the other buttons even though the separator image is only 2 pixels high.
 
A:  You should set a separator in the menuItems, for example: 
  var menuItems = [ 
 ["Home","index.cfm", , , , , , , , ], 
 ["-"], 
 ["About Us","about.cfm", , , , , , , , ],
]; 
 
Please, see the following parameters: 
 
//--- Separators 
  var separatorImage=""; //for subitems 
  var separatorWidth="100%"; 
  var separatorHeight="3px"; 
  var separatorAlignment="right"; 
  var separatorVImage="images/public/separator.gif"; //for the top items 
  var separatorVWidth="100%"; 
  var separatorVHeight="2px"; 
  var separatorPadding="";