Recent Questions
Q: How do assign my own onclick events to menu options for the dhtml menubar?
I want do more than just redirect to an href.
A: Actually you can use your own Javascript code instead standard links.
For example:
var menuItems = [
["text", "javascript:your_code_here"]
];
or
var menuitems = [
["<div onClick='your_code_here'>item text</div>", ""]
];
Q: Is there any possibility to change the dynamic drop down menu?
A: You should use API functions.
dtreet_ext_changeItem (menuInd, itemID, itemParams)
More info you can find here:
http://deluxe-tree.com/functions-info.html
Q: I am trying out your menu and I've made out a little test case in the attached file.
If you run it, you will see that the horizontal drop down menu css scrollsOUTSIDE the container div to the edges of the window. Is there anyway I can make the hhorizontal drop down menu css be within the container div and yet scroll?
And will the solution be cross-browser?
Note that menuDiv needs to have a collapsableDiv style. I am assuming that that is not a problem.
A: Try to set exact width for the submenu:
var smWidth="925px";
Q: When doing a mouseover over the menu options, the java menu web submenus are supposed to all drop down. However, some of the submenus go up instead of down. How do I fix that?
A: You should set the following java menu web parameter:
var subMenuVAlign="top";