(c) 2007, DHTML-Menu.com
 
   
   
  Support
  Recent Questions
  Write To Support
 

    Is there a parameter in code for drop down menu to force the menu text to wrap

Return to Recent Questions


Q: Is there a parameter in Tree code for drop down menu I can add and/or adjust in data.js to force the code for drop down menu 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 code for drop down 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

Related:
   
Copyright (c) 2012, DHTML-Menu.com
Home  |  Product Info  |  Samples  |  Download  |  Purchase  |  FAQ  |  Site Map  |  Write Us
All rights reserved. github pages | website generator | easy free website builder | best website builder software | top web builder