|
|
Can I create css menu deroulant with the same width of the top items? Each item has a different width now...
Return to Recent Questions
Q:
Is it possible to create css menu deroulant items with different width or will I have to make all the main css menu deroulant items/graphics to be a same width?
var itemStyles = [
["itemWidth=98px"],
];
A:
You can set itemWidth for each main item.
Use DHTML Tuner to create your individual styles.
You should write, for example, so:
var itemStyles = [
["itemWidth=98px"], // style 0
["itemWidth=100px"], // style 1
["itemWidth=110px"], // style 2
["itemWidth=120px"], // style 3
["itemWidth=95px"], // style 4
];
And then assign Individual Styles for the css menu deroulant items:
var menuItems = [
["","", "data.files/products.gif", "data.files/products_mo.gif", "Products", "_self","0" , , , ],
["","", "data.files/demoCenter.gif", "data.files/demoCenter_mo.gif", , ,"1", , , ],
["","", "data.files/resources.gif", "data.files/resources_mo.gif", , ,"2", , , ],
["","support.htm", "data.files/support.gif", "data.files/support_mo.gif", , "_self","4", , , ],
["","", "data.files/company.gif", "data.files/company_mo.gif", , , , , , ],
];
Return to Recent Questions
Related:
- March 17, 2009 - Can the javascript menu example items be set so they are all the same width?
- March 20, 2009 - Is it possible to have the "parent" items of the dynamic menu be purely an image?
- March 21, 2009 - How can we increase the width of the vista style buttons of menu navigation?
- Apr 01, 2009 - How can I set different parameters for diferent items in my popup menu?
- Apr 02, 2009 - Where can I change the font size of the top drop down menu over items?
- Apr 03, 2009 - I would like to change the height of the submenu items in the menu css html...
- Apr 11, 2009 - I cannot see the shadow on the top items in my javascript for drop down menu example.
- Apr 16, 2009 - The popup menu gives me the top level of the css tab menu...
- Apr 20, 2009 - I need the BG color behind items to be flush with the sides of the drop down menu using.
- Apr 30, 2009 - For some reason all of the web drop down menu items are squished together...
- May 15, 2009 - We want to set a specific width for each top level item in the over drop down menu
|