|
|
|||||||||
|
|||||||||
| |||||||||
|
|
|
| |||||||||
![]() |
|
|
«
Previous Thread
|
Next Thread
»
|
Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
|
|
Stay one step ahead of the competition. Evaluate and give feedback
on some of the hottest web development tools on the market today.
Make your opinion heard! Click
Here
|
|
#1
|
|||
|
|||
|
I am trying to make an image appear on mouse over and then go back to the default image when you mouse out. I am just looking for the simpliest way to do this. If you can tell me the easiest way I would much appreciate it.
Cheers, Pixelj
__________________
pixeljunkie |
|
#2
|
||||
|
||||
|
The simplest simplest way?
<img onMouseOver='this.src="image1.gif"' onMouseOut='this.src="image2.gif"' src='image2.gif'> Something like that. |
|
#3
|
|||
|
|||
|
The problem with that is that the rollover image changes as well as making another image change as well
|
|
#4
|
||||
|
||||
|
Erm? Jeez, a few months out and getting rusty.
<img name='im' onMouseOver='document.im.src="image1.gif"' onMouseOut='document.im.src="image2.gif"' src='image2.gif'> Changes only that image. |
![]() |
| Viewing: Dev Shed Forums > Other > Beginner Programming > Java Script code needed for Showing/Hiding images |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|
|
|
|