|
How do I expand the length of vista javascript pulldown menu images to add longer text?
Return to Recent Questions
Q:
How do I expand the length of the vista javascript pulldown menu 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 javascript pulldown menu.
Is there any way other than definition of new image files to get long items?
Can I change the text size in the javascript pulldown menu? When I use the Tuner, it has no effect.
A:
Try to use image-based javascript pulldown menu.
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:
|