whats this,
are you familiar with CSS? A simple CSS, non-Javascrpt solution would be to define the hover attribute to what you want to change. In this case CSS is simple, quick and uses very little overhead.
Here is a variation, that starts with the image opaque, then changes to non-opaque when you hover over it. This goes in the style heading or your css file
img.fade {
filter:alpha(opacity=50);
-moz-opacity: .5;
opacity: .5;
}
img.fade:hover {
filter:alpha(opacity=100);
-moz-opacity: 1.0;
opacity: 1.0;
}
Here is the html tag, in this case set up as a link
<a href="#"><img class="fade" src="images/yourimage.gif" alt="fading picture" border="0"/></a>
To have it change a couple of other attributes, such as size, add the changes to your css.
This solution works great if you have many images, and all you wish to change is the attributes of the image.
If you have a one, or a very few, images, consider the swap with the hover attribute in css.