Back To Start Of Archive
Taken From The Forum: Help & Support for DHTML Menu Version 5+
Forum Topic: Click to view post
Last Updated: Saturday July 14 2012 - 06:07:32
Different colours in the one menu style
Poster: lukebe
Dated: Saturday September 17 2005 - 21:42:04 BST
Hi - real basic question. I have a menu style defined with white text but their is 1 menu item I would like to show in yellow.
How can I do this since you set the colour in the menu style for all items in a group?
Thanks,
Luke
Poster: Ruth
Dated: Saturday September 17 2005 - 22:28:07 BST
Certain menu properties can be set in the menu style and also in items. Set in menu style they are universal and apply to any menus using that style, set in an item they apply only to that item.
In the item,
Code:
aI("text=whatever;url=whatever;offcolor=#ffff00;");
Notice that there are no quotes in the offcolor when used in the item.
Below my name are a list of links for menu references, style properties, menu properties and item properties. Many of the style and item properties are the same as they can be applied in both the style and the item.
Hope that helps.
Ruth
Thanks Ruth
Poster: lukebe
Dated: Saturday September 17 2005 - 22:44:05 BST
Thanks Ruth.. I tried that before assuming you can set certain properties in at aI method. I spelt color (US) as colour (AUS) because of habit being down under.
Thanks again.