(c) 2007, DHTML-Menu.com
 
   
   
  Support
  Recent Questions
  Write To Support
 

    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:
   
Copyright (c) 2012, DHTML-Menu.com
Home  |  Product Info  |  Samples  |  Download  |  Purchase  |  FAQ  |  Site Map  |  Write Us
All rights reserved. html5 video background | best web design software | website editor | bootstrap button styles | css slider