|
|
|
Can I create pulldown menu html 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 pulldown menu html items with different width or will I have to make all the main pulldown menu html 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 pulldown menu html 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 dhtml menu navigation items be set so they are all the same width?
- March 20, 2009 - Is it possible to have the "parent" items of the menu css javascript be purely an image?
- March 21, 2009 - How can we increase the width of the vista style buttons of javascript disable button?
- Apr 01, 2009 - How can I set different parameters for diferent items in my javascript popup menus?
- Apr 02, 2009 - Where can I change the font size of the top dhtml menubar items?
- Apr 03, 2009 - I would like to change the height of the submenu items in the collapsible javascript...
- Apr 11, 2009 - I cannot see the shadow on the top items in my context menu javascript example.
- Apr 16, 2009 - The popup menu gives me the top level of the web menu...
- Apr 20, 2009 - I need the BG color behind items to be flush with the sides of the drop down menu script.
- Apr 30, 2009 - For some reason all of the menus in javascript items are squished together...
- May 15, 2009 - We want to set a specific width for each top level item in the javascript menu frame
|