Template:Team:HokkaidoU Japan/About Us/JS

From 2014.igem.org

(Difference between revisions)
 
(8 intermediate revisions not shown)
Line 67: Line 67:
   });
   });
});
});
 +
 +
$(function(){
$(function(){
     $('.show').hover(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'));
+
         $(this).attr('src', $(this).attr('src').replace('https://static.igem.org/mediawiki/2014/d/d6/HokkaidoU_Member_tamaro_off', 'https://static.igem.org/mediawiki/2014/a/a8/HokkaidoU_Member_tamaro_on'));
           }, function(){
           }, function(){
             if (!$(this).hasClass('currentPage')) {
             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'));
+
             $(this).attr('src', $(this).attr('src').replace('https://static.igem.org/mediawiki/2014/a/a8/HokkaidoU_Member_tamaro_on', 'https://static.igem.org/mediawiki/2014/d/d6/HokkaidoU_Member_tamaro_off'));
         }
         }
   });
   });
});
});
 +
$(function(){
$(function(){
     $('.show').hover(function(){
     $('.show').hover(function(){
-
         $(this).attr('src', $(this).attr('src').replace('https://static.igem.org/mediawiki/2014/d/d6/HokkaidoU_Member_tamaro_off', 'https://static.igem.org/mediawiki/2014/a/a8/HokkaidoU_Member_tamaro_on'));
+
         $(this).attr('src', $(this).attr('src').replace('https://static.igem.org/mediawiki/2014/6/60/HokkaidoU_Member_shimoyama_off', 'https://static.igem.org/mediawiki/2014/2/22/HokkaidoU_Member_shimoyama_on'));
           }, function(){
           }, function(){
             if (!$(this).hasClass('currentPage')) {
             if (!$(this).hasClass('currentPage')) {
-
             $(this).attr('src', $(this).attr('src').replace('https://static.igem.org/mediawiki/2014/a/a8/HokkaidoU_Member_tamaro_on', 'https://static.igem.org/mediawiki/2014/d/d6/HokkaidoU_Member_tamaro_off'));
+
             $(this).attr('src', $(this).attr('src').replace('https://static.igem.org/mediawiki/2014/2/22/HokkaidoU_Member_shimoyama_on', 'https://static.igem.org/mediawiki/2014/6/60/HokkaidoU_Member_shimoyama_off'));
         }
         }
   });
   });
Line 90: Line 93:
$(function(){
$(function(){
     $('.show').hover(function(){
     $('.show').hover(function(){
-
         $(this).attr('src', $(this).attr('src').replace('https://static.igem.org/mediawiki/2014/6/60/HokkaidoU_Member_shimoyama_off', 'https://static.igem.org/mediawiki/2014/2/22/HokkaidoU_Member_shimoyama_on'));
+
         $(this).attr('src', $(this).attr('src').replace('https://static.igem.org/mediawiki/2014/4/44/HokkaidoU_Member_Itoh_off', 'https://static.igem.org/mediawiki/2014/f/f5/HokkaidoU_Member_Itoh_on'));
           }, function(){
           }, function(){
             if (!$(this).hasClass('currentPage')) {
             if (!$(this).hasClass('currentPage')) {
-
             $(this).attr('src', $(this).attr('src').replace('https://static.igem.org/mediawiki/2014/2/22/HokkaidoU_Member_shimoyama_on', 'https://static.igem.org/mediawiki/2014/6/60/HokkaidoU_Member_shimoyama_off'));
+
             $(this).attr('src', $(this).attr('src').replace('https://static.igem.org/mediawiki/2014/f/f5/HokkaidoU_Member_Itoh_on', 'https://static.igem.org/mediawiki/2014/4/44/HokkaidoU_Member_Itoh_off'));
         }
         }
   });
   });

Latest revision as of 21:05, 17 October 2014