How to create a image that can change "sections" to different colors
Posted on 2004-08-05
This may be a little difficult to explain but let's just say I have an image cut up into 9 squares, 3 across and 3 down. I want to be able to click a square and have it change to a different image. If I click it again I want it to change to yet another different image. I could click around this image for a few minutes and have a mish-mosh of images.
What this really is being used for is a tool that shows a drawing of a body with each section of the body being a different clickable section. For example left wrist, right ankle, etc. When the left wrist is clicked once, it needs to go from white to light pink, if clicked again, it needs to go a little darker, and so on and so on, to a limit. Basically I need to be able to assign a level, from 0-9 for each section of the body to represent how much pain someone has in that section.
So I'm wonder what a better approach may be.