|
|
I would like to have each sub menu with width 100px in my Menu popup.
Return to Recent Questions
Q:
I use the menu popup 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.
Each menu popup has a different size depending on the label now.
What am I doing wrong ?
A:
You should create individual item styles and assign them to your items. For example:
var itemStyles = [
["itemWidth=100px"],
];
["DHTML Menus","", "", "", , , "0", , , , , ],
["|Tree","", "", "", , , "0", , , , , ],
...
["Apycom products","", "", "", , , "0", , , , , ],
...
["Contacts","http://www.apycom.com/contact.html", "", "", , , "0", , , , , ],
Return to Recent Questions
Related:
- March 16, 2009 - How can I change item width in the Vista templates in the dhtml javascript menu?
- March 17, 2009 - Can the vertical dropdown menu items be set so they are all the same width?
- March 21, 2009 - I am trying to get my submenu to be all black in my menu popup...
- Apr 01, 2009 - How can I set different parameters for diferent items in my mouse over drop down menu?
- Apr 04, 2009 - Is there a way to have an automatic line-break for large submenu items in menue script?
- Apr 06, 2009 - Can the link items NOT open a new window in the menu popup?
- Apr 15, 2009 - My mainmenu items are not links. So I need no link cursor for these net navigation menu items.
- Apr 17, 2009 - I have 25 images on one page. I want to use it's own popup web navigation bar for each image.
- Apr 24, 2009 - I have an errors on the menu popup in HTML application with 4 iframes.
- May 15, 2009 - We want to set a specific width for each top level item in the menu html code
- May 22, 2009 - How do I make the top dhtml menu vertical item style to be the same width for each item?
|