Template:Team:HokkaidoU Japan/javascripts

From 2012.igem.org

(Difference between revisions)
Line 15: Line 15:
     $('#hokkaidou-index-cross1').hover(
     $('#hokkaidou-index-cross1').hover(
       function(){
       function(){
-
         $('.hokkaidou-index-image-cross1:not(:animated)').fadeToggle();
+
         $('.hokkaidou-index-image-cross1:not(:animated)').animate({opacity: 'toggle'});
       },
       },
       function(){
       function(){
-
         $('.hokkaidou-index-image-cross1:not(:animated)').fadeToggle();
+
         $('.hokkaidou-index-image-cross1:not(:animated)').animate({opacity: 'toggle'});
       }
       }
     );
     );
     $('#hokkaidou-index-cross2').hover(
     $('#hokkaidou-index-cross2').hover(
       function(){
       function(){
-
         $('.hokkaidou-index-image-cross2:not(:animated)').fadeToggle();
+
         $('.hokkaidou-index-image-cross2:not(:animated)').animate({opacity: 'toggle'});
       },
       },
       function(){
       function(){
-
         $('.hokkaidou-index-image-cross2:not(:animated)').fadeToggle();
+
         $('.hokkaidou-index-image-cross2:not(:animated)').animate({opacity: 'toggle'});
       }
       }
     );
     );

Revision as of 16:57, 26 September 2012