Template:Team:HokkaidoU Japan/About Us/JS

From 2014.igem.org

(Difference between revisions)
Line 60: Line 60:
$(function(){
$(function(){
     $('.show').hover(function(){
     $('.show').hover(function(){
-
         $(this).attr('src', $(this).attr('src').replace('_off', '_on.'));
+
         $(this).attr('src', $(this).attr('src').replace('_off', '_on'));
           }, function(){
           }, function(){
             if (!$(this).hasClass('currentPage')) {
             if (!$(this).hasClass('currentPage')) {

Revision as of 08:37, 9 October 2014