Dynamic Styles

Please note that official support for this menu version has now ceased. There are still plenty of users, though, and the forum is still running. Some of our long-time users may be able to help you out.
Post Reply
poliguin
Beginner
Beginner
Posts: 2
Joined: Fri Oct 18, 2002 4:38 pm

Dynamic Styles

Post by poliguin »

just wondering about using them, mainly since across our site it would be preferable to different elements controlled by the css that is linked. i've tried putting class tags into the StyleArray, but that ends up bombing. just wondering how other people may have handled this or of any ideas on how to handle this. i've looked through the code and noticed that when the menus are drawn out that the color reference gets written out such as

Code: Select all

args.style.color=""+ti[3];
and know full well that any var's that are in that array position (i.e., the class name), there will be an "object expected" error that is thrown.
Post Reply