(c) 2016, Deluxe-Menu.com
Search  
Ctrl+F2 - enter/switch menu | Arrow keys - navigate | Esc - exit menu  
  Support
  FAQ
  Contacts
  About Us
  Recent Questions


 

    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

Top 53 Killer HTML Templates List Responsive Website Maker  |  Bootstrap Site Themes Review  |  Responsive Site Theme  |  Mobile-friendly Web Page Themes Review  |  Mobile Page Layouts Overview  | 
Copyright (c) 2019, Deluxe-Menu.com
Home  |  Product Info  |  Samples  |  Download  |  Purchase  |  FAQ  |  Site Map  |  Terms of Use  |  Write Us
All rights reserved. Free AI Website Builder | Free AI Website Builder | AI Website Builder | AI Website Maker | Website Generator AI