Posted By

sondosia on 12/24/06


Tagged

images hover design color webdesign greyscale


Versions (?)

Who likes this?

1 person have marked this snippet as a favorite

vali29


Greyscale Images


 / Published in: HTML
 

URL: http://www.createblog.com/scripts/download.php?id=179

Image will be greyscale and will turn colored when hovered over

  1. <!-- start code provided by createblog.com -->
  2. <img src="yourimagehere" style="filter:progid:DXImageTransform.Microsoft.BasicImage(grayscale=1)" onmouseover="this.style.filter = 'progid:DXImageTransform.Microsoft.BasicImage(grayscale=0)'" onmouseout="this.style.filter = 'progid:DXImageTransform.Microsoft.BasicImage(grayscale=1)'">
  3. <!-- end code provided by createblog.com -->

Report this snippet  

You need to login to post a comment.