Template:Team:HokkaidoU Japan/About Us/JS

From 2014.igem.org

(Difference between revisions)
 
(5 intermediate revisions not shown)
Line 68: Line 68:
});
});
-
$(function(){
+
 
-
    $('.show').hover(function(){
+
-
        $(this).attr('src', $(this).attr('src').replace('https://static.igem.org/mediawiki/2014/4/43/HokkaidoU_Member_matsumura_off', 'https://static.igem.org/mediawiki/2014/3/3b/HokkaidoU_Member_matsumura_on'));
+
-
          }, function(){
+
-
            if (!$(this).hasClass('currentPage')) {
+
-
            $(this).attr('src', $(this).attr('src').replace('https://static.igem.org/mediawiki/2014/3/3b/HokkaidoU_Member_matsumura_on', 'https://static.igem.org/mediawiki/2014/4/43/HokkaidoU_Member_matsumura_off'));
+
-
        }
+
-
  });
+
-
});
+
$(function(){
$(function(){
Line 87: Line 79:
   });
   });
});
});
 +
$(function(){
$(function(){

Latest revision as of 21:05, 17 October 2014