Posted By

coryschadt on 04/06/11


Tagged

jquery


Versions (?)

Who likes this?

1 person have marked this snippet as a favorite

maltem


Jquery - add a class to div on hover


 / Published in: JavaScript
 

  1. $('.project').hover(
  2. function() {
  3. $(this).addClass('hover');
  4. },
  5. function() {
  6. $(this).removeClass('hover');
  7. }
  8. );

Report this snippet  

You need to login to post a comment.