Posted By

sridhar on 07/31/11


Tagged

jquery


Versions (?)

Who likes this?

1 person have marked this snippet as a favorite

Priestd09


Hover effect for all images (paste this in My Theme -> Settings -> Footer box)


 / Published in: JavaScript
 

  1. <script type="text/javascript">
  2. jQuery(document).ready(function() {
  3. jQuery("img").hover(
  4. function () {
  5. jQuery(this).stop().fadeTo("fast", 0.7);
  6. },
  7. function () {
  8. jQuery(this).stop().fadeTo("fast", 1);
  9. }
  10. );
  11. });
  12. </script>
  13.  

Report this snippet  

You need to login to post a comment.