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

    I want a drop down menu javascript with all the buttons the same length.

Return to Recent Questions


Q: I have a client that wants a drop down menu javascript 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 drop down menu javascript. 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. github pages | website design software | bootstrap buttons | bootstrap modal popup | css menu maker