Click On A Button To Change The Corvette's Color

 


Back To My BLOG Page Back To My Programs




The Story Behind This Code

Recently I was told about a program that runs on a laptop and creates graphics around images that are picked up by a camcorder. I was asked about creating a program that could dynamically change the color of the images. This isn't the program for doing that, that would entail something like the Java2D API. However, it made me think about another use for some code I had written to produce a sort of slide show effect for a web site. The web site was supposed to have different images on it each time you reloaded the page. I got this effect by defining a different image for a series of class names that were associated randomly with the same division in the web page. In this page, when you click on a different color button it changes the classname of a table tag.