Recent Questions
Q: I'm experimenting with the purchased Treemenu. Looks very nice!
A question: When I set the menu width to 200px and the text of the item exceeds this width, text is not wrapped resulting in some strange display. How can I wrap the text in the java menu tree?
I can not simply use extra <br> tags because the data of the items are dynamic (php + MySQL).
A: You should set the following parameter
var tnoWrap=0;
Try that.
Q: Is there a way to center floatable menus horizontally on a page?
I used to use absolutePos=0, and all of my menus were centered ok, but when I tried floatable=1 I found that I had to change toabsolutePos=1 to get the menu to float, and this messed up my centering. Since I have multiple menus of different widths, I'd rather not have to hard-code the menu width, but please let me know if there's a better way.
A: Notice, when you use floatable menu you can't use relative menu position.
So, if you use
var absolutePos = 0;
and to center the menu you use <p> or <div> with the center alignment your menu won't float.
To center your floatable menu you should set absolute coordinates.
Q: With: <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
The content of my tabs menu doesn't show in IE.
A: Delete "height: 0%;" parameter from the style of the content DIV:
<DIV class=tabPage id=content4 style="VISIBILITY: hidden;">
Q: I would like to make the main bar for the menu javascripts more consistent in the spacing.
A: Try to set exact width for each top menu item using Individual Styles:
var itemStyles = [
["itemWidth=131px"], //style0
];
var menuItems = [
["home","", "", "", "", "", "0", "", "", "", "", ], //style0
["artist index","", "", "", "", "", "0", "", "", "", "", ], //style0
["the gallery","", "", "", "", "", "0", "", "", "", "", ], //style0
];