We Recommend

HTML: The Definitive Guide HTML: The Definitive Guide
They teach you that learning HTML is like learning any other language and that reading a book of rules can only take you so far. Readers begin writing what may be their first Web page just two pages into the book's second chapter. From there on, they provide a wide range of HTML coding to allow readers to learn from good examples. The book includes a handy "cheat sheet" of HTML codes for quick reference.


Posted By

sondosia on 12/24/06


Tagged

images hover design color webdesign greyscale


Versions (?)


Who likes this?

1 person has 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.