Is there a parameter in javascript expand menu to force the menu text to wrap
Return to Recent Questions
Q:
Is there a parameter in Tree Menu I can add and/or adjust in data.js to
force the menu text to wrap and add here to a set menu width?
A:
You should use tags, for example:
var tmenuItems = [
["line 1 line 2"],
];
Width of the menu you can set so:
var tmenuWidth = "500px";
Try that.
Try to specify units in "px".
var tmenuWidth = "182px";
It's necessary to specify exact value for Mozilla browsers. It helps
to position menus correctly.
You should set this parameter:
var tmenuHeight = "auto";
Return to Recent Questions
|