Click to See Complete Forum and Search --> : Desaturation/Saturation on Hover


MatthewJ
11-01-2005, 02:08 PM
I don't even know if this is possible, but I know I have seen it before. Here's the scenario and what I want to do.

I have these thumbnails. Now I would normally just do two images (one color, one desaturated) and then have them swap on a hover event, but they aren't my images. They are generated by a javascript from another site. I won't get into what exactly it does.

So I have one color image to work with. Is there any code (CSS, Javascript, etc) I can do to tell the images to be desaturated normally and then back to color on hover? Thanks.

tegraphix
11-01-2005, 08:21 PM
I haven't seen that with CSS, but here is something I came across. Unfortunately it only works in IE.
http://elouai.com/javascript/javascript-image-grayscale.php