HTML in the aI text field?

Having problems with DHTML Menu? There is usually somebody here who knows the answer.
Post Reply
bparrish
Beginner
Beginner
Posts: 4
Joined: Fri Dec 03, 2004 6:01 pm

HTML in the aI text field?

Post by bparrish »

We wanna make some of the menu items multicolored. An example would be an item that says "Happy Holidays", with one word green and the other red.

The HTML for this is simple, of course, but once it's put into the aI() function, under the "text=" section, it breaks that menu item.

Particularly, it is the equals sign in the HTML which blows it up. (And in fact, putting an equals sign in any "text=" menu item seems to break that item.)

Anything I can do?
User avatar
John
 Team
 Team
Posts: 5967
Joined: Sun May 19, 2002 8:23 pm
Location: Phoenix, AZ
Contact:

Post by John »

Code: Select all

aI("text=<font color=#ff0000>Happy <font color=#00ff00>Holidays;status=Happy Holidays;");
John
Post Reply