|
|
I downloaded "DeLuxe Menu" and try to make a sample menu. I was having the impression, that every item of the menu dropdown could have it's own color.
Return to Recent Questions
Q:
I downloaded "DeLuxe Menu" and try to make a menu dynamic. I was having the
impression, that every item could have it's own color. But nowhere in de
program could I find how this had to be done. Every time I changed the
color, weather it was under Appearance or Item Appearance, the color of the
whole menu was changed.
Before I decide to buy your product, I need to know if separate coloring for the menu dynamic is
possible.
A:
You can create Individual Item style and assign it for the top items,
for example:
var itemStyles = [
["itemBackColor=#8080FF,#FFFF80","itemBorderWidth=1","itemBorderStyle=solid,solid", "itemBorderColor=#000080,#FF8000","showByClick=0"],//style0
["itemBackColor=##FFFFF,#000000","itemBorderWidth=1","itemBorderStyle=solid,solid", "itemBorderColor=##AA0000,#0000EE","showByClick=0"],//style1
];
var menuItems = [
["Item 1","", "", "", "", "", "0", "", "", "", "", ], //style0
["Item 2","", "", "", "", "", "1", "", "", "", "", ], //style1
["|Item 3","", "", "", "", "", "", "", "", "", "", ],
["|Item 4","", "", "", "", "", "", "", "", "", "", ],
["Item 5","", "", "", "", "", "0", "", "", "", "", ], //style0
["|Item 7","", "", "", "", "", "", "", "", "", "", ],
["|Item 8","", "", "", "", "", "", "", "", "", "", ],
["Item 6","", "", "", "", "", "1", "", "", "", "", ], //style1
];
Return to Recent Questions
Related:
- Sep 02, 2006 - Little vertical spacers between menu items in the drop down menu.
- Sep 04, 2006 - Set a menu item to pressed when a page is loaded.
- Sep 06, 2006 - The first item of the html drop down menu stays highlighted.
- Sep 16, 2006 - I need to be able to highlight the selected menu item of the html tree menu.
- Sep 24, 2006 - If there is a way of establishing the width at "runtime" in the javascript dynamic menu?
- Sep 26, 2006 - Why is the submenu has a different colour than menu items in the javascript menu bar?
- Oct 01, 2006 - All of the items in html pull down menu are different sizes.
- Oct 03, 2006 - Do I have the ability to change colors for the menus and the sub menus in the cascade menu.
- Oct 07, 2006 - How do you change the back ground color of the javascript horizontal menus?
- Oct 26, 2006 - I would like to load an iframe into one of the items in oncontextmenu.
- Oct 28, 2006 - Subitems of the mouseover menu don't close when the mouse goes away...
|