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/ | + | $(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(){ | }, 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/8/8b/HokkaidoU_Member_hata2_on', 'https://static.igem.org/mediawiki/2014/2/2b/HokkaidoU_Member_hata_off')); |
} | } | ||
}); | }); |
Revision as of 17:27, 17 October 2014