Is there a parameter in tree menu in javascript to force the menu text to wrap
Return to Recent Questions
Q:
Is there a parameter in Tree tree menu in javascript I can add and/or adjust in data.js to
force the tree menu in javascript text to wrap and add here to a set menu width?
A:
You can use <br> tags, for example:
var tmenuItems = [
["line 1<br>line 2"],
];
or you can set the following parameter:
var tnoWrap = 0;
Width of the tree menu in javascript 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
Related:
|