Recent Questions
Q: I try to find things out.
What is the difference between itemStyles and menuStyles in dhtml menu wizard?
The look likes the same to me.
A: You should assign the menuStyles to the whole submenu (the first item in the submenu).
itemStyles you should assign for each item individually.
See more info here;
http://deluxe-menu.com/individual-item-styles-info.html
http://deluxe-menu.com/individual-submenu-styles-info.htmlQ: Is it possible to make on top of the css tree menu 2 extra buttons:
* Expand all
* Collapse all
Which command do I use???
A: Tree Menu doesn't have such a feature now.
You can write your own function based on the following API functions:
function dtreet_ext_showItem (itemID, visibility)
function dtreet_ext_expandItem (itemID, expand)
Q: Your frameset FAQ/examples seem to tackle scenarios where submenus open in frame 2. I'm interested in in the actual menu selection opening in frame 2 (menus being in frame 1). Is there some documentation I've missed?
A: All info about installation of the menu in the cross-frame mode youcan find here:
http://deluxe-menu.com/cross-frame-mode-sample.html
Q: I've been trying to get the menu item in dynamic tree menu to stay highlighted when clicked on and directed to that page.
A: Tree Menu 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 apyt_ext_setPressedItem(menuInd, itemID)
<script type="text/javascript">
var i = 4 //index of the selected item
onload=setPressed;
function setPressed()
{
dtreet_ext_setPressedItem(0,dtreet_ext_getItemIDByIndex(0, i));
}
To expand specific items you should use the following function:
dtreet_ext_expandItem (dtreet_ext_getItemIDByIndex (0, 11), 1);