PDA

View Full Version : B/W Image filter


tylerjca
04-02-2006, 12:17 AM
Hi, I'm looking for a way to make and image B/W (black and white) and turn back to color dynamically when the mouse rolls over the image. And back to b/w when the mouse is moved away from the image.

I know it's possible..I've seen it.. unless the forgotten web site was using 2 images and just changed the image src during mouseover... but I don't want to use that option.

Thanks in advance

Kravvitz
04-02-2006, 03:36 AM
http://msdn.microsoft.com/workshop/author/filter/reference/properties/grayscale.asp

That only works in IE5.5+ though.

I suggest you use CSS Background Image Switching (http://www.dynamicsitesolutions.com/css/background_image_switching/) instead.