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

Main Menu Items: individual styles

Poster: tduemig
Dated: Thursday May 18 2006 - 20:13:55 BST

Is there a way to assign a style to individual items in the "main menu" group so that it overides the style assigned in the following code:

with(milonic=new menuname("Main Menu")){
aI("text=Home;url=;status=Back To Home Page;");
aI("text=Menu Samples;showmenu=Samples;");
aI("text=My Milonic;showmenu=MyMilonic;");

something like this maybe?

I don't want to use css because I wrote a backend utiltiy in to generate style blocks and the admin tool I wrote lets me assign styles to any item, I just need to find out how to explicitly define and overide a global style for a particular item.

Sorry if confusing.

Thanks in advance!!

someone please reply

Poster: tduemig
Dated: Friday May 19 2006 - 16:15:22 BST

I have purchased a license for this menu and I don't think I've asked a tough question...can someone please reply with an answer.

I've tried doing a work around by explicitly defining offbgcolor, onbgcolor, etc...but the original style assinged to that menu group is overiding them. Is there a way to tell each AI() item to ignore parent styling ??


Poster: Andy
Dated: Friday May 19 2006 - 23:11:31 BST


It's been added to the CVS tree and should be available as a Pre Release by Monday.

The property name is menustyle and can be added to a menu item, like this:


Hope this helps,

Poster: Andy
Dated: Saturday May 20 2006 - 11:28:58 BST

Pre Release has now been updated and can be downloaded from

Poster: tduemig
Dated: Tuesday May 23 2006 - 15:07:24 BST

Andy wrote:
Pre Release has now been updated and can be downloaded from

Thank You!!