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