|
|
How do I make the top dhtml menu vertical item style to be the same width for each item?
Return to Recent Questions
Q:
How do I make the top dhtml menu vertical items to be the same width for each button?
Total dhtml menu vertical width is 743px and I have 6 buttons I want the width
of each button to be fixed at 123px.
I set var menuWidth="743" but the width of each button based on its text.
A:
You should use individual item styles. For example:
var itemStyles = [
["itemWidth=123px"], //style 0
];
var menuItems = [
["Home","testlink.html", , , , , "0", , , ], //style 0
["Product Info","", "menu.files/icon1.gif", "menu.files/icon1o.gif", , , "0", , , ], //style 0
Return to Recent Questions
Related:
- March 14, 2009 - I am having a problem with css styles in the dhtml menu vertical.
- March 16, 2009 - How can I change item width in the Vista templates in the dhtml javascript menu?
- March 17, 2009 - Can the vertical dropdown menu items be set so they are all the same width?
- March 21, 2009 - How can we increase the width of the vista style buttons of javascript dynamic menu?
- March 30, 2009 - I'm having a difficult time trying to integrate your dhtml menu vertical into frame system...
- Apr 17, 2009 - How do I make the dhtml menu vertical come to the front of the text?
- May 04, 2009 - Which file(s) I should change to change the content of each dhtml menu vertical tab?
- May 15, 2009 - We want to set a specific width for each top level item in the menu html code
- Jun 08, 2009 - Is there something special I need to do with your dhtml menu vertical in an iFrame?
- Jun 25, 2009 - Do you have a browsers list that your dhtml menu vertical is compatible with?
- Jul 12, 2009 - How do I add more space between the top items in my dhtml menu vertical?
|