Template:Team:HokkaidoU Japan/About Us/JS

From 2014.igem.org

(Difference between revisions)
Line 81: Line 81:
$(function(){
$(function(){
     $('.show').hover(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/b/bc/HokkaidoU_Member_hata_on'));
+
         $(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/2/20/HokkaidoU_Member_hata_on1'));
           }, function(){
           }, function(){
             if (!$(this).hasClass('currentPage')) {
             if (!$(this).hasClass('currentPage')) {
-
             $(this).attr('src', $(this).attr('src').replace('https://static.igem.org/mediawiki/2014/b/bc/HokkaidoU_Member_hata_on', 'https://static.igem.org/mediawiki/2014/2/2b/HokkaidoU_Member_hata_off'));
+
             $(this).attr('src', $(this).attr('src').replace('https://static.igem.org/mediawiki/2014/2/20/HokkaidoU_Member_hata_on1', 'https://static.igem.org/mediawiki/2014/2/2b/HokkaidoU_Member_hata_off'));
         }
         }
   });
   });

Revision as of 17:23, 17 October 2014