Is it possible to have a Vista styled dropdown menu code with different width
Return to Recent Questions
Q:
I'm trying out your cool dropdown menu code.
I'm trying to rebuild my menu like this one
http://deluxe-menu.com/data-templates/vista-style-3-03-template-sample.html
I have a problem. In my case, I have some really long labels and
some short ones. In some cases my text is larger than the button
(see attachment). In your example all the buttons have the same
width. 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 Deluxe Tuner.
Return to Recent Questions
Related:
- Sep 06, 2006 - The alighment of the dropdown menu is off to the right in Firefox...
- Sep 11, 2006 - How can I hide my dropdown menu on print?
- Sep 11, 2006 - If I use doctype the settings of the submenus in javascript dropdown menu get lost.
- Oct 20, 2006 - Can you let me know, if javascript moving menu supports search engine friendly code?
- Oct 27, 2006 - In IE 6.0 and Firefox 1.5.0.4, the submenus of my dhtml dropdown menu are not visible
- Nov 12, 2006 - Is this menu bar code compatible under Linux?
- Nov 19, 2006 - Can I create a javascript menu code with one line of the subitems?
- Nov 30, 2006 - Does your html menu dropdown have the ability to have small text boxes on it?
- Dec 06, 2006 - Is using search engine friendly code the same as using normal html menu bar for spiders?
- Dec 20, 2006 - I have problems with the incorrect copyright in IE7 in the drop down menu code
- Dec 23, 2006 - How can I upgrade to Deluxe Menu v2.0? Now I'm using html menu codes v1.14.
|