I would like to have a menu which has two images--one that is the default-the other is the image when it is mouseovered.
So, how would I code this?
~iE
I would like to have a menu which has two images--one that is the default-the other is the image when it is mouseovered.
So, how would I code this?
~iE
The way to go would be javascript:
There maybe a way though, can you send me your menu?Code:<img src="http://content.mobango.com/media/picture/gif/00000012/thumbnail/size_125x90/159183.gif_125x90.gif" onmouseover="this.src='http://upload.wikimedia.org/wikipedia/commons/thumb/b/b0/Smiley_head_happy.png/50px-Smiley_head_happy.png'" onmouseout="this.src='http://content.mobango.com/media/picture/gif/00000012/thumbnail/size_125x90/159183.gif_125x90.gif'" />
Jeremy | jfein.net
Actually, you can do this with CSS. The technique is called CSS sprites and it's usually a smoother and more accessible option.
Bookmarks