|
|
We want to set a specific width for each top level item in the menu html code
Return to Recent Questions
Q:
We figured out how to adjust the alignment of the text.
Right now the width of the menu html code is based on the length of the item in that hotspot.
We would like to set a specific width for each top level item in the menu html code.
A:
You should create individual item styles and assign them to the top menu html code items. For example:
var itemStyles = [
["itemWidth=123px"], //style 0
["itemWidth=150px"], //style 1
];
var menuItems = [
["Home","testlink.html", , , , , "0", , , ], //style 0
["Product Info","", "menu.files/icon1.gif", "menu.files/icon1o.gif", , , "0", , , ], //style 0
["Text","", "menu.files/icon1.gif", "menu.files/icon1o.gif", , , "1", , , ], //style 1
Try that.
Return to Recent Questions
Related:
- March 17, 2009 - Can the vertical dropdown menu items be set so they are all the same width?
- March 23, 2009 - My menu html code doesn't work on IE6. No rollovers, no drop downs.
- Apr 10, 2009 - I can not figure out how to fix the menu html code from going off the page in Mozilla...
- Apr 27, 2009 - Does your license for menu html code need to be tied to a domain name to work?
- May 22, 2009 - How do I make the top dhtml menu vertical item style to be the same width for each item?
- May 31, 2009 - I set a target at '_mainFrame' for my script drop down menu but it opens in the same window.
- May 31, 2009 - Is there a way submenu's to be the same for first and second level in menu html code
- Jun 18, 2009 - The background images is missing in menu html code
- Jul 05, 2009 - My menu html code submenu is not display at the correct position with Firefox.
- Jul 23, 2009 - I can't see menu html code on my test page only direct links...
- Aug 08, 2009 - If a user selects menu html code in the upper frame he get the menu html code that is in the content frame...
|