|
|
I want a down menu button with all the buttons the same length.
Return to Recent Questions
Q:
I have a client that wants a down menu button 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 down menu button. 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 vertical dropdown menu items be set so they are all the same width?
- March 20, 2009 - Is it possible to have the "parent" items of the css pulldown menu be purely an image?
- March 21, 2009 - How can we increase the width of the vista style buttons of javascript dynamic menu?
- March 28, 2009 - How do I get started with this down menu button?
- Apr 02, 2009 - Where can I change the font size of the top javascript onmouseover menu items?
- Apr 03, 2009 - I would like to change the height of the submenu items in the vertical dropdown menu...
- Apr 11, 2009 - I cannot see the shadow on the top items in my drop down menu example.
- Apr 13, 2009 - I have some problems with multiple down menu button on my site.
- Apr 16, 2009 - The popup menu gives me the top level of the javascript vertical menu...
- Apr 20, 2009 - I need the BG color behind items to be flush with the sides of the dhtml javascript menu.
- Apr 30, 2009 - For some reason all of the menu css horizontal items are squished together...
|