The short story is that I’m looking for a way to dynamically render colors within discrete cells of an HTML table.
More detail: I’m modifying some code I inherited and know enough Javascript to make myself dangerous. The page uses VBScript (which I don’t know at all and I merely add here for sake of completeness) to pull SQL server data that represents blocks of data. An HTML table is used to display those blocks of data numerically, one block per row. The number of rows is dynamic, depending upon the data.
I needed to add graphic visualization of these same blocks of data within this same page. So I’m using Walter Zorn’s Javascript VectorGraphics library ([url]http://www.walterzorn.com/jsgraphics/jsgraphics_e.htm
The problem is that, for each data block, I also need to display the analogous array color [I][U]somehow[I]document.createElement[I]document.body.appendChild
I’m open to any approach (although I don’t know any other languages.) I suppose a completely different alternative is blowing off the HTML table and presenting the data completely via Javascript and CSS, but I still need a way to dynamically change the colors.
Thanks so much!