PDA

View Full Version : image onmouseover


Bobba Buoy
02-26-2004, 05:22 PM
I have an image serving as a link in a <td> <a href=""><img src=""></a></td> setup and I want to change the image on mouseover. How can I do that?

Thanks!

coothead
02-27-2004, 08:00 AM
Hi there Bobba Buoy,

Try it like this...

<td><a href="some.html">
<img src="image1.jpg" alt="image name" onmouseover="this.src='image2.jpg'" style="border: 0"/>
</a></td>

Bobba Buoy
02-27-2004, 09:30 AM
Thanks!