im trying to get a img hover into another img on multiple img's. on 1 img it works like a charm, but now i need the same function for 4 more img's how do i define that?
my current code:
function MouseRollover(MyImage) {
MyImage.src = "images/massage.jpg";
}
function MouseOut(MyImage) {
MyImage.src = "images/wellness.jpg";
}
<a href='wellness.html'> <img src="images/wellness.jpg"
onMouseOver="MouseRollover(this)"
onMouseOut="MouseOut(this)" /> </a>