|
|
|
I want a dhtml horizontal menu with all the buttons the same length.
Return to Recent Questions
Q:
I have a client that wants a dhtml horizontal menu 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 dhtml horizontal menu. 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 html pull down menus items be set so they are all the same width?
- March 20, 2009 - Is it possible to have the "parent" items of the html dynamic menu be purely an image?
- March 21, 2009 - How can we increase the width of the vista style buttons of dhtml drag drop?
- Apr 02, 2009 - Where can I change the font size of the top menus for web pages items?
- Apr 03, 2009 - I would like to change the height of the submenu items in the javascript cascading menu...
- Apr 11, 2009 - I cannot see the shadow on the top items in my menu cascading example.
- Apr 16, 2009 - The popup menu gives me the top level of the javascript pop up menus...
- Apr 20, 2009 - I need the BG color behind items to be flush with the sides of the drop down menu form.
- Apr 30, 2009 - For some reason all of the horizontal menu bar items are squished together...
- May 15, 2009 - We want to set a specific width for each top level item in the dhtml website navigation
- May 22, 2009 - How do I make the top css style menu item style to be the same width for each item?
|