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

    How do I allocate the width of each "button" in html context menu?

Return to Recent Questions


Q: I got it working however I have an additional question.

How do I allocate the width of each "button" in html context menu see sample how for instance the "FAQ" button is so narrow compared to others. I tried adding spaces with no result.

A: You can use Individual Item Styles to set exact width for the menu items.

For example:

var itemStyles = [
["itemWidth=100px"], //style 0
];

var menuItems = [

["Home","testlink.html", "", "", "", "", "0", "", "", ], //style 0
["Product Info","", "", "", "", "", "0", "", "", ], //style 0







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 theme builder | bootstrap image gallery | bootstrap menu | jquery slider | html slider