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

Colors in Menu Items


Poster: mfurf
Dated: Sunday July 11 2004 - 8:54:32 BST

In the howtobuild.txt instruction the various coloration codes are in the list of properties for menu items. I assume this means one can override the style properties for individual menu items by inserting the color codes in the aI statement.

I can't get it to work properly. If I leave the quotes around the color number, the menu won't load. If I change it to a single quote, the menu will load but for some crazy reason the text line shows up underlined and the colors aren't read. E.G. the following code will load the menu and underline the words MyText and just use the style colors. I haven't got it online yet but maybe someone can identify what I am doing wrong.

Code:
aI("text=MyText;offbgcolor='#33322f';offcolor='#eaaa66';url=Myfile.html;target=main;");



/mfurf

REply


Poster: mfurf
Dated: Sunday July 11 2004 - 8:59:48 BST

Please ignore this reply to my own post. I'm testing to see if I get an emailed reply. Although I've watched several topics and they were replied to, I never got an email. Just now I see in my account that I was not registered on the forum and have checked the registered box. Your indulgence is greatly appreciated. /mfurf

Re: Colors in Menu Items


Poster: kevin3442
Dated: Sunday July 11 2004 - 10:07:10 BST

Hi mfurf,

You're almost there. Skip the quotes altogether.
Code:
aI("text=MyText;offbgcolor=#33322f;offcolor=#eaaa66;url=Myfile.html;target=main;");

Cheers,

Kevin