Recent Questions
Q: I'm loving your product! It has definitely made my life easier.
I do have a question however. I know if I put a "+" in front of the title, the category will be expanded by default.
["+PRODUCTS","", "", "", "", "", "", "", "", ],
Is there a way to do that dynamically? Maybe have some code that would tell the sliding tree menu to expand on that particular page?
A: On your pages you should call the following function/functions to expand/highlight items, for example:
<script>
dtreet_ext_expandItem (dtreet_ext_getItemIDByIndex (0, 0), 1);
dtreet_ext_setPressedItem (0, dtreet_ext_getItemIDByIndex (0, 1));
</script>
See more info about API functions here:
http://www.deluxe-tree.com/functions-info.htmlQ: When the html tab menu is initialized can you not have any selected tabs?
I do not want to select any tabs when the menu is initialized for some cases.
A: No, unfortunately it is not possible. Some top item should behighlighted.
But you can try to add separator in the beginning of the menu and set:
var bselectedItem=0;
var bseparatorWidth="0px";
var bmenuItems = [
["-",],
[" Deluxe Menu","content1", "img/icon_ie.gif", "img/icon_ie.gif", "img/icon_ie.gif", "", "", "", "", ],
[" Deluxe Tree","content2", "img/icon_ie.gif", "img/icon_ie.gif", "img/icon_ie.gif", "", "", "", "", ],
[" Deluxe Tabs","content3", "img/icon_ie.gif", "img/icon_ie.gif", "img/icon_ie.gif", "", "", "", "", ],
[" Contact us","content4", "img/icon_mail.gif", "img/icon_mail.gif", "img/icon_mail.gif", "", "", "", "", ],
];
Q: I try to fix the height of the submenu "Zone Climatiques" to 400px but I didn't find the way to do this. It worked by setting var smHeight=400px but that setting set all submenus. I would like set only the height of "Zone climatiques" submenu.
Thanks for your help.
A: You should create Individual Style
var menuStyles = [
["menuBackColor=transparent","menuBorderWidth=0","itemSpacing=1","itemPadding=0px 5px 0px 5px"],
["smHeight=400px"],
];
and assign it to the first item in submenu
["3101 - Ste-Anne-Des-Monts","ProcessClimaticZone/edit.do?id=3101,2003-11-13", , , , , ,"1","stationSubMenu.htm?climaticZoneId=3101,2003-11-13",],
Q: http://deluxe-tabs.com/file/templates/deluxe-tabs-style-5.html I like the transitional fade of onclick tab data between tabs of this menu, but I don't see anything in Transitional Effect variables to manipulate this.
A: You can set transitional effects in the "Transitional Effects"section in Deluxe Tuner.
//--- Transitional Effects
var btransition=24;
var btransOptions="";
var btransDuration=300;
Notice that Transitional Effects are supported by IE5.5+ only.