..the javascript menu div width will expand past it's boundaries instead of wrapping the text..
Return to Recent Questions
Q:
Am I under the correct assumption that if the inner menu item text
expands past the ItemWidth or MenuWidth (being that the Width is set --
eg 150px), that the javascript menu div width will expand past it's boundaries instead
of wrapping the text? (eg. A text like "Please Make this Wrap instead
of expand the width boundary" seems to expand the container's width
rather than wrap)
A:
There are 2 ways to do that:
1. set
var noWrap=0;
2. use <br> tags, for example:
var menuItems = [
["line 1<br>line 2"],
];
Return to Recent Questions
Related:
- Sep 02, 2006 - Can I show / hide the javascript floating menu .
- Sep 02, 2006 - Little vertical spacers between menu items in the drop down menu.
- Sep 05, 2006 - Can I say to deluxe-menu "use wrapping"?
- Sep 06, 2006 - The alighment of the dropdown menu is off to the right in Firefox...
- Sep 06, 2006 - The Items of the javascript tree view stay expanded in the same state.
- Sep 06, 2006 - Can't see my javascript vertical tree menu in FireFox.
- Sep 06, 2006 - The first item of the html drop down menu stays highlighted.
- Sep 11, 2006 - If I use doctype the settings of the submenus in javascript dropdown menu get lost.
- Sep 15, 2006 - Are vertical menus also supported? I don't see any in the javascript menu examples.
- Sep 16, 2006 - I need to be able to highlight the selected menu item of the html tree menu.
- Sep 17, 2006 - How can your javascript onmouseover menu be set to open by click?
|