I'm trying to figure out the best way to go about doing this.This is one form that I'm trying to create and not 3 different forms.
http://www.amazinsounds.com/form-image-if.png
Sorry I couldn't post the image representation as I don't have rep 10 just yet.
As a user selects a color the image will change. When a circle position is selected the image will change. Each one being something different. I've done a search here, but I've yet to come up with anything solid in terms of direction. The only thing close that i've seen that helped understand a little is this:
<HTML><HEAD><SCRIPT>
// preload images
var img1 = new Image().src = "../images/jht.gif"
var img2 = new Image().src = "../images/jsht.gif"
var img3 = new Image().src = "../images/pht.gif"
function setImage(imageSelect) {
theImageIndex = imageSelect.options[imageSelect.selectedIndex].value;
if (document.images)
document.images[0].src = eval("img" + theImageIndex);
}
</SCRIPT></HEAD><BODY>
<FORM NAME="theForm" METHOD="POST">
<TABLE><TR><TD>Images: <TD>
<SELECT NAME="items" onChange="setImage(this)">
<OPTION VALUE="1">Java How-to
<OPTION VALUE="2">Javascript How-to
<OPTION VALUE="3">Powerbuilder How-to
</SELECT>
<TD><IMG SRC = "../images/jht.gif" HEIGHT=100 WIDTH=200>
</TABLE></FORM></BODY></HTML>
It's not quite what I'm trying to do though. I know php, but I don't understand javascript just yet so any help on reading this or tips on how to accomplish this would be much appreciated.