Milonic provide full featured pull down web menus for some of the worlds largest companies
click here to see what it can do for you

Download Milonic DHTML Menu
Buy Milonic DHTML Menu

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:05

Apply style to a single item in a flyout?


Poster: mfindlay
Dated: Wednesday September 1 2010 - 21:10:16 BST

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

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


Poster: Ruth
Dated: Wednesday September 1 2010 - 22:23:16 BST

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://www.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