Hi All:
I am curious to know if there is a code for when someone moves their mouse over a link graphic it will shine or enlarge.
Thanks,
eletricfrog
Hi All:
I am curious to know if there is a code for when someone moves their mouse over a link graphic it will shine or enlarge.
Thanks,
eletricfrog
you have to make two images: the regular image, and the "mouseover" image. for example:
If you don't put the "onmouseout" attribute, then the image won't change back to its original state. you could put a third image there.Code:<img src="image.jpg" onmouseover="src='shinyimage.jpg'" onmouseout="src='image.jpg'">
Thank you so much
This can also be achieved through CSS. You can make one image, and then make the position of the background change on rollover. This is a much better way to do some rollovers as it means there is no pre loading of the mouseover image and also means people who have JavaScript disabled can also view the rollover.
Bookmarks