| 
      Return to Recent Questions Is it possible to extend the width on the java menu buttons to get more text in them? 
 
 Q:
 Hello. I had a question about the vista templates. Is it possible
 to extend the width on the java menu buttons to get more text in them? I put
 to much text and the button is repeating itself. Is there a way to
 extend the width of the button without the repeat?
 
 A:
 See images in Vista Templates have the fixed width and height (92 x 21).
 
 You can try to use the following parameter to use combined
background for your items, for example:
 
 var beforeItemImage = [,]; //left-side image for normal and mouse over state
 var itemBackImage = [,]; //background or image for normal and mouse over state
 var afterItemImage = [,]; //right-side image for normal and mouse over state
 var beforeItemImageW = '';
 var afterItemImageW = '';
 var beforeItemImageH = '';
 var afterItemImageH ='';
 
 But you should create a small images in any Graph Editor, for example:
 button_n_back.gif
 button_n_left.gif
 button_n_right.gif
 button_o_back.gif
 button_o_left.gif
 button_o_right.gif
 
 
 
 
 
 
 Return to Recent Questions
 
 Related:
 
 
         Sep 02, 2006 - Can I show / hide the javascript floating menu .
Sep 06, 2006 - Can't see my javascript vertical tree menu in FireFox.
Sep 11, 2006 - If I use doctype the settings of the submenus in javascript dropdown menu get lost.
Sep 15, 2006 - Are vertical menus also supported? I don't see any in the javascript menu examples.
Sep 17, 2006 - How can your javascript onmouseover menu be set to open by click?
Sep 22, 2006 - How to call the function in my java script menu?
Sep 23, 2006 - Is it possible that javascript drop down menus doesn't put anything on the local computer?
Sep 23, 2006 - Is it possible that your menu call some javascript onmouseover event?
Sep 24, 2006 - If there is a way of establishing the width at "runtime" in the javascript dynamic menu?
Sep 26, 2006 - Firefox doesn't support the dropshadow and effects in the javascript pull down menu.
Sep 26, 2006 - Why is the submenu has a different colour than menu items in the javascript menu bar?
 |