I have an urgent problem that I hope someone can help me with. I'm trying to create an imagemap that has image flips on it, as shown on HTML Goodies.com. The code that's on that site is as follows:
function zoomin() {
document.emp.src = Image3.src; return true;
}
function zoomout() {
document.emp.src = Image2.src; return true;
}
function original() {
document.emp.src = Image1.src; return true;
}
// - stop hiding -->
</SCRIPT>
...what I don't understand is the whole zoomin/zoomout part. The code provided seems to be for three parts... two hotspots, and the return-to-true image. But what if I have four parts, meaning, what if i have three hotspots, plus the original image? zoomin, zoomout, original... seems like there can't be any more associations, unless i'm totally missing something.
Help ASAP would be much appreciated! If not here, then my email is <!-- e --><a href="mailto:[email protected]">[email protected]</a><!-- e -->.
thanks!
function zoomin() {
document.emp.src = Image3.src; return true;
}
function zoomout() {
document.emp.src = Image2.src; return true;
}
function original() {
document.emp.src = Image1.src; return true;
}
// - stop hiding -->
</SCRIPT>
...what I don't understand is the whole zoomin/zoomout part. The code provided seems to be for three parts... two hotspots, and the return-to-true image. But what if I have four parts, meaning, what if i have three hotspots, plus the original image? zoomin, zoomout, original... seems like there can't be any more associations, unless i'm totally missing something.
Help ASAP would be much appreciated! If not here, then my email is <!-- e --><a href="mailto:[email protected]">[email protected]</a><!-- e -->.
thanks!