Forum Moderators: open

Message Too Old, No Replies

mouseover, image change

         

yllai

11:27 am on Jan 5, 2006 (gmt 0)

10+ Year Member



Hi,

I have 3 pictures, what I want to do is, when I move my cursor to picture A, then picture B and C will change in the same time. Can it be done? How to do it?

Thanks.

Trace

7:20 pm on Jan 5, 2006 (gmt 0)

10+ Year Member



This should get you started.
Mouse over the first image, the second and third will change.

<img src="blue.gif" width="50" height="50" border=0 alt="" id="1" onMouseOver="document.getElementById('2').src='green.gif';document.getElementById('3').src='green.gif';">
<img src="blue.gif" width="50" height="50" border=0 alt="" id="2">
<img src="blue.gif" width="50" height="50" border=0 alt="" id="3">