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

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

Return to Recent Questions


Q: Is there a parameter in Tree drop down menu scripts I can add and/or adjust in data.js to force the drop down menu scripts 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 drop down menu scripts 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. website builder reviews | criar sites gratis | Mobirise Templates | mp4 to webm | css slider