Recent Questions
Q: I downloaded the tuner and am testing the file prior to purchasing. Is there a way to set up categories and beneath those categories there are subitems...then depending on what page I am on in the website, the appropriate category and subitems automatically show up in the javascript tree view menu?
If so, can you please tell me where and how to setup a menu if it's just changing a variable. Maybe you have an example of the web?
Here's an example of what we are needing. If you open your website http://deluxe-tree.com/samples-sample.html there are 2 sep. menus, one at the top and one on the side.
If I click Samples on the top menu, the samples submenu should automatically expand on the javascript tree view menu. How would I set this up?
A: See how you should highlight and expand the selected items here:
http://deluxe-tree.com/highlight-selected-menu-item-sample.html
I'm sending you the example.Q: How woud I make all the sub-menu’s height and text smaller in the css dhtml menu?
A: You can create Individual Item Style and assign it to each item insubmenu.
For example:
var itemStyles = [
["itemHeight=10px","fontStyle=normal 9px Trebuchet MS, Tahoma"],
];
and assign it to each item in submenu:
["|Item 7","", "", "", "", "", "0", "", "", ],
["|Item 8","", "", "", "", "", "0", "", "", ],
you can also use standard <br> tags.
["|Home text<br>text","testlink.htm", "default.files/icon1_s.gif", "default.files/icon1_so.gif", "", "Home Page Tip", "", "", "", ],
Q: Is there a way to make the dhtml pull down menu not reset after a link is clicked.
Now every time I click a link in the tree menu it takes me to the linked page
but all the menus re-expand.
A: When user clicks the link, the browser loads a new page and the script re-create the menu.
If you want to open the needed section automatically on load you can use the following:
1. Save the state to cookies
var tsaveState=0;
2. Use frames
3. Put the special script on each page of site that will open appropriate section:
(dtreet_ext_expandItem)
See more info here:
http://www.deluxe-tree.com/functions-info.htmlQ: My slide drop down menu appears at the top of the page rather than in the cell in which I placed it
A: You're using absolute position for the menu now:
var absolutePos=1;
You should use the relative position:
var absolutePos=0;