Template:Team:HokkaidoU Japan/About Us/JS
From 2014.igem.org
(Difference between revisions)
Line 100: | Line 100: | ||
$(function(){ | $(function(){ | ||
$('.show').hover(function(){ | $('.show').hover(function(){ | ||
- | $(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/ | + | $(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/ | + | $(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')); |
} | } | ||
}); | }); |
Revision as of 15:30, 15 October 2014