Apply style to a single item in a flyout?

Having problems with DHTML Menu? There is usually somebody here who knows the answer.
Post Reply
mfindlay
Super Advanced
Super Advanced
Posts: 38
Joined: Mon Jun 28, 2004 5:00 pm

Apply style to a single item in a flyout?

Post by mfindlay »

Hi,
I need to apply a unique style to just a single item in a menu flyout. For example, for the "Capital Markets" item, I need to make its background a different color than all the other backgrounds, and I need to set its top and bottom padding to a different amount. Is there something inline I can apply directly into the aI? (see below)

aI("text=Capital Markets;url=" + sNonSSLBaseSite + "pages/capabilities/capital-markets/capital-markets.php;");

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

Re: Apply style to a single item in a flyout?

Post by Ruth »

Hi,

Yes, you can do all that. The best way to see what can be done is to take a look at the item properties page.

http://milonic.com/itemproperties.php

Many of the 'style' properties are also item properties. Please note that when used in an item, you do not use quotes or single quotes, for example, in a style section: offbgcolor="#000000"; but in an item, it would be offbgcolor=#000000; no quotes :)

Ruth
Post Reply