Changing Font Colors

Having problems with DHTML Menu? There is usually somebody here who knows the answer.
Post Reply
pakaymc
Beginner
Beginner
Posts: 5
Joined: Mon Sep 25, 2006 12:36 pm

Changing Font Colors

Post by pakaymc »

As I develope a menu I would like to declare two different font colors, Black and Red. I would like to use Black for all completed menu items and Red for items that are under development. Normally I would not include the menu items that are under development but in this case it is a requirement so using the Red font color will allow the user to know the item is under development.

Is this possible?
michael
pakaymc
Beginner
Beginner
Posts: 5
Joined: Mon Sep 25, 2006 12:36 pm

Post by pakaymc »

I found the answer. If I add offcolor=#ff3030; to my aI tag, I can select a different font color for each item.

__________ CODE SAMPLE __________
aI("text=Sample Menu Item;separatorsize=1;url=;offcolor=#ff3030;")

m
User avatar
Ruth
 Team
 Team
Posts: 8763
Joined: Thu May 15, 2003 5:02 am
Location: Yucaipa, CA
Contact:

Post by Ruth »

Hi,

Try these links

http://milonic.com/styleproperties.php

http://milonic.com/menuproperties.php

http://milonic.com/itemproperties.php

Each of these refers to properties that go in their particular 'area'

Style goes in the section at the top where the menuStyle is defined.

Menu goes in the actual menu part, the section with the menu name, alwaysvisible, etc.

Item goes into the items. You will see that probably almost all of the Style properties can also be assigned in an Item area.

Neat, isn't it. Really makes the menu very designable :)

You might also take a look at the link to the forum below my name. Take a look at the Styling the menu part. It's kind of basic but it has a section on copyOF when you're trying to create multiple styles for different submenus. Good shortcut.

Ruth
Post Reply