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