Individual Menu Colors

Having problems with DHTML Menu? There is usually somebody here who knows the answer.
Post Reply
nainil
Beginner
Beginner
Posts: 2
Joined: Sun Mar 13, 2005 12:13 pm

Individual Menu Colors

Post by nainil »

Hi,

I need to change menu colors for each individual item tabs. How do I do that?

I also need to change the item tab size of individual items. How do I do that?

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

Post by Ruth »

Hello Nainil,
Are you saying that you have to change the color of each individual item in a menu, or of each individual submenu from a main menu?

If you need to change the color for individual menus, i.e. each submenu, then make another style for each menu with the colors and other things you want. If you have to change it for each item in every menu, that's a lot of work, but you can code each item to be whatever color you want if you want to take the time for that. Add the onbgcolor, oncolor, offbgcolor, offcolor to each aI string i.e. aI("text=yourText;url=whatever;offbgcolor=#ffffff;offcolor=#000000;onbgcolor=#ff0000;oncolor=#ff00ff;"); and so on for each item.

As to changing the size of the items, if it's a horizontal menu, then you can do that. Again, in the aI string add the width you want that item i.e. itemwidth=110; If it is a vertical menu, you can't do that since the widest item width will be the width of all the items.

Ruth
nainil
Beginner
Beginner
Posts: 2
Joined: Sun Mar 13, 2005 12:13 pm

Post by nainil »

Thank you very much.

Appreciated.

Nainil.
Post Reply