|
|
How can I vary the width of the individual items in the button context menu?
Return to Recent Questions
Q:
How can I vary the width of the individual items (Home, Product Info etc) on the button context menu?
A:
I'm not sure I understand you. You want to use different width (exact
width) for the main items?
You can use Individual Styles to set the width for the menu items.
Please, use Deluxe 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
];
var menuItems = [
["","", "data.files/products.gif", "data.files/products_mo.gif", "Products", "_self","0" , , , ],
["|XLCubed Excel Edition","pro_excel.html", "data.files/iconBlue.gif", "data.files/iconWhite.gif", , "_self", , "0", , ],
["|XLCubed Web Edition","pro_web.html", "data.files/iconBlue.gif", "data.files/iconWhite.gif", , "_self", , "0", , ],
["|TM1 Connection","tm1Connection.htm", "data.files/iconBlue.gif", "data.files/iconWhite.gif", , "_self", , "0", , ],
["|Downloads","downloads.htm", "data.files/iconBlue.gif", "data.files/iconWhite.gif", , , , , , ],
["","", "data.files/demoCenter.gif", "data.files/demoCenter_mo.gif", , ,"1", , , ],
Return to Recent Questions
Related:
- March 12, 2009 - I don't understand, how can change place of the icon in button context menu...
- March 17, 2009 - Can the vertical dropdown menu items be set so they are all the same width?
- March 28, 2009 - Is it necessary to add dmWorkPath parameter in the button context menu?
- Apr 14, 2009 - The page I try to open in button context menu could not found...
- May 02, 2009 - How can I add "|" separating in the menu items with your button context menu?
- May 19, 2009 - I built the button context menu and tried it in my site and I see text only...
- Jun 06, 2009 - I tried to create the html version of the button context menu but it is still not working.
- Jun 22, 2009 - Is it possible to have all of the submenus start at the top of the button context menu.
- Jul 10, 2009 - How do you created a multiple column for the button context menu.
- Jul 12, 2009 - Is it possible to set target attribute individually for the horizontal menu using items?
- Jul 27, 2009 - I created a custom page for our site, but the button context menu won't display.
|