Posted By

Mosaic on 04/16/10


Tagged

js jquery hover img rollover


Versions (?)

Who likes this?

1 person have marked this snippet as a favorite

x0nine


simple jquery rollover


 / Published in: jQuery
 

  1. function roll_over() {
  2. $(".foot_box, .foot_box3").hover(
  3. function() { //RollOver
  4. this.src = this.src.replace("_off","_on");
  5. },
  6. function() { //RollOut
  7. this.src = this.src.replace("_on","_off");
  8. }
  9. );
  10. }

Report this snippet  

You need to login to post a comment.