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: Archived Topics for the old Version 3.0 JavaScript Menu
Forum Topic: Click to view post
Last Updated: Wednesday July 18 2012 - 06:07:19

Dynamic Styles


Poster: poliguin
Dated: Monday November 4 2002 - 17:55:46 GMT

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