View Full Version : Image hover


_shadowfyre_
06-23-2003, 05:58 PM
I want to make it so that my image links are all saturated one color (in my case red), but when you run your mouse over the image, you can see the true colors of the image.. kinda hard to explain but i think i made that clear. anyway, how would i do that? o.o

edit: oh and if it's possible, i want the colors to fade...

stargrl329
06-25-2003, 12:42 AM
i don't know the code to do that... but you could use the code below and for each link, you could have another image that is colorized red. this is the code, change "IMAGE" to the URL of your regular-color image and "RED-IMAGE" to the URL of your red image.

<a href="" onMouseOver="document.MyImage.src='IMAGE';" onMouseOut="document.MyImage.src='RED-IMAGE';">
<img src="img1.bmp" name="RED-IMAGE" border=0></a>

Hope this helped ;)

׺׷lauren·×º×