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

    Is it possible to have a Vista styled dropdown menu javascript with different width?

Return to Recent Questions


Q: I'm trying out your cool dropdown menu javascript.

I'm trying to rebuild my menu like this one:

http://dhtml-menu.com/menu/data-templates/vista-style-3-03-template-sample.html

I have a problem. In your example all the buttons have the same width. In my case, I have some really long labels and some short ones. In some cases my text is larger than the button.

Is it possible to have a Vista styled menu with different width for the buttons?

A: See images in Vista Templates have the fixed width and height (92 x 21).

If you want to change items' width/height you should change images.

btn_cyan.gif
btn_cyan2.gif

You can do it in any graph editor, for example in Adobe PhotoShop.

You should also change items width in your Individual Item Style.

var itemStyles = [
["itemWidth=92px","itemBorderWidth=0","fontStyle=normal 11px Tahoma","fontColor=#FFFFFF,#FFFFFF","itemBackImage=btn_cyan.gif,btn_cyan2.gif"],
];

You can do it in DHTML Tuner.






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. best website builder software | bootstrap modal popup | HTML5 Video | css3 menu | html slider