|
|
Can I create drop down menu web 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 drop down menu web items with different width or will I have to make all the main drop down menu web 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 drop down menu web 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 vertical dropdown menu items be set so they are all the same width?
- March 20, 2009 - Is it possible to have the "parent" items of the css pulldown menu be purely an image?
- March 21, 2009 - How can we increase the width of the vista style buttons of javascript dynamic menu?
- March 22, 2009 - Submenus appear away for the drop down menu web.
- Apr 01, 2009 - How can I set different parameters for diferent items in my mouse over drop down menu?
- Apr 02, 2009 - Where can I change the font size of the top javascript onmouseover menu items?
- Apr 03, 2009 - I would like to change the height of the submenu items in the vertical dropdown menu...
- Apr 08, 2009 - I cannot see my drop down menu web in IE7. Please, help!
- Apr 11, 2009 - I cannot see the shadow on the top items in my drop down menu example.
- Apr 16, 2009 - The popup menu gives me the top level of the javascript vertical menu...
- Apr 20, 2009 - I need the BG color behind items to be flush with the sides of the dhtml javascript menu.
|