View Full Version : Tables, Mouseover change images

06-01-2003, 10:42 AM
Hi Guys,

I have a table with a list of hot spot links. I would like to change an image in another cell in the table with mouse over a particular hot spot. Is this possible?

The Dingbat :(

Mr J
06-01-2003, 02:04 PM
Something like this maybe

<table border="1">
<td><a href="#null" onclick="mypic.src='pic1.jpg'">pic 1</a></td>
<td rowspan="4"><img name="mypic" src="pic1.jpg"></td>
<tr><td><a href="#null" onclick="mypic.src='pic2.jpg'">pic 2</a></td></tr>
<tr><td><a href="#null" onclick="mypic.src='pic3.jpg'">pic 3</a></td></tr>
<tr><td><a href="#null" onclick="mypic.src='pic4.jpg'">pic 4</a></td></tr>