|
|
I would like to have each sub menu with width 100px in my Javascript menu system.
Return to Recent Questions
Q:
I use the javascript menu system 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 javascript menu system 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 css menu drop down?
- March 17, 2009 - Can the javascript menu example items be set so they are all the same width?
- Apr 01, 2009 - How can I set different parameters for diferent items in my popup menu?
- Apr 04, 2009 - Is there a way to have an automatic line-break for large submenu items in css menu hover?
- Apr 15, 2009 - My mainmenu items are not links. So I need no link cursor for these menu in css items.
- Apr 17, 2009 - I have 25 images on one page. I want to use it's own popup javascript context menu for each image.
- May 15, 2009 - We want to set a specific width for each top level item in the over drop down menu
- May 22, 2009 - How do I make the top down menu using javascript item style to be the same width for each item?
- May 25, 2009 - How can I setup size and color of the font for individual button in the hover menu?
- May 28, 2009 - Can we specify our own onclick event handler for the menus in web item?
- May 29, 2009 - Will this menu dynamique vertical work for us, as we use IFrames and Frameset?
|