Colors in Menu Items

Having problems with DHTML Menu? There is usually somebody here who knows the answer.
Post Reply
mfurf
Super Advanced
Super Advanced
Posts: 74
Joined: Tue Sep 23, 2003 12:30 am
Location: Purling NY
Contact:

Colors in Menu Items

Post by mfurf »

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: Select all

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

/mfurf
Oh Saratoga!
mfurf
Super Advanced
Super Advanced
Posts: 74
Joined: Tue Sep 23, 2003 12:30 am
Location: Purling NY
Contact:

REply

Post by mfurf »

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
Oh Saratoga!
User avatar
kevin3442
Milonic God
Milonic God
Posts: 2460
Joined: Sat Sep 07, 2002 12:09 am
Location: Lincoln, NE
Contact:

Re: Colors in Menu Items

Post by kevin3442 »

Hi mfurf,

You're almost there. Skip the quotes altogether.

Code: Select all

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

Kevin
Post Reply