|
|
|
How do I make the top dhtml menu maker item style to be the same width for each item?
Return to Recent Questions
Q:
How do I make the top dhtml menu maker items to be the same width for each button?
Total dhtml menu maker 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 16, 2007 - How can I change item width in the Vista templates in the css dhtml menu?
- March 17, 2007 - Can the vertical drop down menus items be set so they are all the same width?
- March 21, 2007 - How can we increase the width of the vista style buttons of dhtml popup menu?
- May 15, 2007 - We want to set a specific width for each top level item in the java navigation menu
- Aug 24, 2007 - Can I create dhtml menu code with the same width of the top items? Each item has a different width now...
- Oct 24, 2007 - Is it possible that items in menus drop down stay expanded in the same state?
- Dec 24, 2007 - I want to set the exact width for each menu item in drop down menu
- Jan 05, 2008 - ..sub-items of my menu and button maker are all listed on the same line as the tabs
- Jan 06, 2008 - Is it possible to have a Vista styled html code drop down menu with different width?
- Jan 25, 2008 - How I can style all drop down menus in html items to have font bold when selected?
|