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

    How do I expand the length of vista drop down menus in javascript images to add longer text?

Return to Recent Questions


Q: How do I expand the length of the vista drop down menus in javascript images to add longer text? If the text is "Special Event Programs", the arrows are outside the tab in another partial one.  I am using the Vista style drop down menus in javascript.

Is there any way other than definition of new image files to get long items?

Can I change the text size in the drop down menus in javascript?  When I use the Tuner, it has no effect.


A: Try to use image-based drop down menus in javascript.

Set:

var menuWidth="92px";
var menuHeight="";

and create the following style:

var itemStyles = [

["itemBackImage=WANmenu.files/btn_magenta-back.gif,WANmenu.files/btn_magentablack-back.gif",
"beforeItemImage=WANmenu.files/btn_magenta-left.gif,WANmenu.files/btn_magentablack-left.gif","afterItemImage=WANmenu.files/btn_magenta-right.gif,WANmenu.files/btn_magentablack-right.gif","beforeItemImageW=10","afterItemImageW=10","beforeItemImageH=21","afterItemImageH=21",
"itemBorderWidth=0","fontStyle=normal 11px Tahoma","fontColor=#FFFFFF,#FFFFFF"],
];





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. bootstrap builder | bootstrap image gallery | website generator | free website generator | responsive slider