Menu
Hi all,
I have a css file as below:
[CODE]
treechildren::-moz-tree-cell(makeItBlue00FF00)
{
background-color: blue;
}
I am using the following line to append the css style to a tree cell
prop.AppendElement(aserv.getAtom(“makeItBlue00FF00”));
Everything works great, however I now wish to pass the color as a variable from javascript- this way I do not need to declare several styles in the CSS file. How can I do this? How do I modify the style sheet and how do I modify the Js to pass the variable.
Thanks
Kind regards
Chris