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


/ Published in: JavaScript
Save to your folder(s)



Copy this code and paste it in your HTML
  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


Comments

RSS Icon Subscribe to comments

You need to login to post a comment.