I have a .gif playing the animation once. It's doesn't loop and I don't want it to loop.
I have 2 images, ("1 png" and "1 gif animated")
I want that every time when the mouse is over the png image, the gif plays.
My problem is that when I set my mouse positon over the png Image, the gif play one time and stop. When I move the mouse away and then move it back over the image, it doesn't play anymore.
My CSS codes :
#icon{
float: left;
width:50px;
height:50px;
background: url("images/smal_icon.png") no-repeat scroll 0% 0% transparent;
}
#icon:hover{
float: left;
width:50px;
height:50px;
background: url("images/smal_icon.gif") no-repeat scroll 0% 0% transparent;
}
#icon
is a DIV