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

    Can I create navigation website with the same width of the top items? Each item has a different width now...

Return to Recent Questions


Q: Is it possible to create navigation website items with different width or will I have to make all the main navigation website items/graphics to be a same width?

var itemStyles = [
["itemWidth=98px"],
];




A: You can set itemWidth for each main item.

Use DHTML Tuner to create your individual styles.

You should write, for example, so:

var itemStyles = [
["itemWidth=98px"], // style 0
["itemWidth=100px"], // style 1
["itemWidth=110px"], // style 2
["itemWidth=120px"], // style 3
["itemWidth=95px"], // style 4
];
And then assign Individual Styles for the navigation website items: var menuItems = [

["","", "data.files/products.gif", "data.files/products_mo.gif", "Products", "_self","0" , , , ],

["","", "data.files/demoCenter.gif", "data.files/demoCenter_mo.gif", , ,"1", , , ],

["","", "data.files/resources.gif", "data.files/resources_mo.gif", , ,"2", , , ],

["","support.htm", "data.files/support.gif", "data.files/support_mo.gif", , "_self","4", , , ],

["","", "data.files/company.gif", "data.files/company_mo.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. website editor | Mobirise Templates | bootstrap navigation menu | free icon maker | image slider