Template:Team:HokkaidoU Japan/About Us/JS

From 2014.igem.org

(Difference between revisions)
 
(One intermediate revision not shown)
Line 79: Line 79:
   });
   });
});
});
-
$(function(){
+
 
-
    $('.show').hover(function(){
+
 
-
        $(this).attr('src', $(this).attr('src').replace('https://static.igem.org/mediawiki/2014/2/2b/HokkaidoU_Member_hata_off', 'https://static.igem.org/mediawiki/2014/8/8b/HokkaidoU_Member_hata2_on'));
+
-
          }, function(){
+
-
            if (!$(this).hasClass('currentPage')) {
+
-
            $(this).attr('src', $(this).attr('src').replace('https://static.igem.org/mediawiki/2014/8/8b/HokkaidoU_Member_hata2_on', 'https://static.igem.org/mediawiki/2014/2/2b/HokkaidoU_Member_hata_off'));
+
-
        }
+
-
  });
+
-
});
+
$(function(){
$(function(){
     $('.show').hover(function(){
     $('.show').hover(function(){

Latest revision as of 21:05, 17 October 2014