Is it possible to have something like the following?
document.[B]VARIABLE1[/B].style.[B]VARIABLE2[/B] = (some color);
Thanks for any ideas.
document[variable1].style[variable2] = some_color;
Thanks for the reply. I also tried that before but it didn't work because both "document" and "style" are not arrays as far as I know. Anyway, I solved this by replacing my code with jQuery.
This topic is now closed. New replies are no longer allowed.