|
|
|
I want a css menus with all the buttons the same length.
Return to Recent Questions
Q:
I have a client that wants a css menus with all the buttons to be the same
width. What code I need to do that
A:
You should create Individual Item Styles (you can create it in DHTML Tuner application) and assign it for all top items of your css menus. For example:
var itemStyles = [
["itemWidth=110px"], // 0 - number of the style
var menuItems = [
["Home","testlink.html", , , , , "0", , , ], // 0 - style 0
["Product Info","", "default.files/icon1.gif", "default.files/icon1o.gif", , , "0", , , ], // 0 - style 0
["|Features","testlink.html", "default.files/icon2.gif", "default.files/icon2o.gif", , , , , , ],
["|Installation","", "default.files/icon2.gif", "default.files/icon2o.gif", , , , , , ],
.........
Return to Recent Questions
Related:
- March 17, 2009 - Can the menu dhtml items be set so they are all the same width?
- March 20, 2009 - Is it possible to have the "parent" items of the javascript drop down menu be purely an image?
- March 21, 2009 - How can we increase the width of the vista style buttons of script drop down menus?
- Apr 02, 2009 - Where can I change the font size of the top menu horizontal css items?
- Apr 03, 2009 - I would like to change the height of the submenu items in the css drop down menus...
- Apr 11, 2009 - I cannot see the shadow on the top items in my css horizontal menus example.
- Apr 16, 2009 - The popup menu gives me the top level of the menus web...
- Apr 20, 2009 - I need the BG color behind items to be flush with the sides of the website navigation bar.
- Apr 30, 2009 - For some reason all of the right click pop up menu items are squished together...
- May 15, 2009 - We want to set a specific width for each top level item in the web drop down menu
- May 22, 2009 - How do I make the top javascript list menu item style to be the same width for each item?
|