bunglebrown
New Member
- Messages
- 157
- Reaction score
- 0
- Points
- 0
Just trying to get some images reacting the way I want in dreamweaver but cant seem to hit it.
The image is changing for the rollover to phase 2 = good. It is changing on the mousedown to phase 3 = great. But once the image has been clicked and is once again rolled over it goes back to phase 2 . . whereas I want it to stay as phase 3.
Also I have other images on the screen that will work in the same way and I want to make it so that only one of them can be pressed down at one time (phase 3), i.e. on clicking a different image to the one already selected it applies the behaviour (phase 3) to the newly selected image and resets the other (phase 1). I suspect this is quite simple but then everything is when you know how to do it. In faith and thankfulness.
Code:
<td height="50%"><a href="#" onmousedown="MM_swapImage('Image1','','phase3.jpg',1)" onmouseover="MM_swapImage('Image1','','Images/phase2.jpg',1)"><img src="Images/phase1.jpg" name="Image1" width="25" height="25" border="0" id="Image1" /></a></td>
The image is changing for the rollover to phase 2 = good. It is changing on the mousedown to phase 3 = great. But once the image has been clicked and is once again rolled over it goes back to phase 2 . . whereas I want it to stay as phase 3.
Also I have other images on the screen that will work in the same way and I want to make it so that only one of them can be pressed down at one time (phase 3), i.e. on clicking a different image to the one already selected it applies the behaviour (phase 3) to the newly selected image and resets the other (phase 1). I suspect this is quite simple but then everything is when you know how to do it. In faith and thankfulness.