I want to get my text within a single javascript dynamic menu item to be on a two lines...
Return to Recent Questions
Q:
I am trying to get my text within a single javascript dynamic menu item to be on two lines as opposed to be all on one line.
For example, I currently have CumberlandHeadElementary School all on one line of a
javascript dynamic menu. I would like to have Cumberland Head on one line and
Elementary School on a line below Cumberland Head. Thanks for your help.
A:
Try to set this parameter:
var noWrap=0;
If it is not suitable for you, try to use standard <br> tags in the item text, for example:
var menuItems = [
["please, select the color you<br>prefer for the background
of<br>the image of the photo of your son",,,],
];
Return to Recent Questions
Related:
- March 15, 2009 - How can I disable items in javascript onmouseover menu?
- March 21, 2009 - How can we increase the width of the vista style buttons of javascript dynamic menu?
- March 31, 2009 - Is there any way can we display submenu items on mouse over in web navigation bar?
- Apr 01, 2009 - How can I set different parameters for diferent items in my mouse over drop down menu?
- Apr 03, 2009 - I would like to change the height of the submenu items in the vertical dropdown menu...
- Apr 04, 2009 - Is there a way to have an automatic line-break for large submenu items in menue script?
- Apr 06, 2009 - Can the link items NOT open a new window in the menu popup?
- Apr 11, 2009 - I cannot see the shadow on the top items in my drop down menu example.
- Apr 15, 2009 - My mainmenu items are not links. So I need no link cursor for these net navigation menu items.
- Apr 20, 2009 - I need the BG color behind items to be flush with the sides of the dhtml javascript menu.
- Apr 25, 2009 - The javascript dynamic menu looks differently in IE 6 and Firefox...
|