|
|
I would like to have each sub menu with width 100 in my vertical css menu
Return to Recent Questions
Q:
I use the apy menu inside a table cell and it has 6 sub menus. The table width
is 600 so I would like to have each sub menu with width 100 and each item
with the same width. I use menuWidth=100 and itemWidth=100 but it doesn't
work, each menu has a different size depending on the label. Also, each sub
menu label can fit in less than 100 but I really want the width to be 100 so
it looks consistant across the full menu. What am I doing wrong ?
A:
You should use individual item styles. For example:
var itemStyles = [
["itemWidth=100px"],
];
["DHTML Menus","", "", "", , , "0", , , , , ],
...
["Apycom products","", "", "", , , "0", , , , , ],
...
["Contacts","http://www.apycom.com/contact.html", "", "", , , "0", , , , , ],
See the attached example.
Return to Recent Questions
|