Originally posted by cpradio
If you would just test my way you will see how I do the mouseover and mouseout works!!
Yes, the mouseover and mouseout work. So does the mouseclick. And you have nothing to disable the mouseout so it will work again.

Secondly to quit it from changing back to red just do this following:

Code:
<script language="JavaScript">
 var out = false;
 function imageChanger (image) {
   if (image == 'red.gif' && !out)
     document.imageName.src = image;
   else if (image == 'red.gif' && out)
      ;
   else
     document.imageName.src = image;
 }
</script>
This will only allow you to mouseout untill the image is clicked.
There you go. You finally fxed the problem. I didn't say it couldn't be done, I was just pointing out that the way you did it wouldn't have the desired affect. Since you finally got it in three tries. I won't hold it against you.

But I will hold this against you. The highlighted parts of your code should be changed. The parts in blue are depricated. The parts in red are, in so far as anyone has been able to show me, completely wrong. In other words, "imageName" is not a recognized property or method of the object "document".