I need to be able to either automatically wrap the line in the dhtml menu tree
Return to Recent Questions
Q:
I'm evaluating a copy of deluxe-tree and have a question about long
items. I need to be able to either automatically wrap the line to fit
the width given in the tmenuWidth variable or insert line breaks as I
see fit.
At the moment I have found that I can insert the <br> tag to force a
line to break but it messes up the space after the menu, if I have
several one after the other then they will sit close together. If I
add a at the beginning of the menu entry then the space before
is bigger than the default.
Is there any easy way around this?
A:
Try to set the following parameter:
var tnoWrap=0;
Return to Recent Questions
|