Different colours in the one menu style

Having problems with DHTML Menu? There is usually somebody here who knows the answer.
Post Reply
lukebe
Beginner
Beginner
Posts: 4
Joined: Sat Sep 17, 2005 9:39 pm

Different colours in the one menu style

Post by lukebe »

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
User avatar
Ruth
 Team
 Team
Posts: 8763
Joined: Thu May 15, 2003 5:02 am
Location: Yucaipa, CA
Contact:

Post by Ruth »

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: Select all

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
lukebe
Beginner
Beginner
Posts: 4
Joined: Sat Sep 17, 2005 9:39 pm

Thanks Ruth

Post by lukebe »

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.
Post Reply