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)').animate({opacity: 'toggle'}, function(){
+
         $('.hokkaidou-index-image-cross1').animate({opacity: 'toggle'}, function(){
           $('#hokkaidou-index-wet1').css('display', 'none');
           $('#hokkaidou-index-wet1').css('display', 'none');
           $('#hokkaidou-index-wet2').css('display', 'block');
           $('#hokkaidou-index-wet2').css('display', 'block');
Line 31: Line 31:
     $('#hokkaidou-index-cross2').hover(
     $('#hokkaidou-index-cross2').hover(
       function(){
       function(){
-
         $('.hokkaidou-index-image-cross2:not(:animated)').animate({opacity: 'toggle'}, function(){
+
         $('.hokkaidou-index-image-cross2').animate({opacity: 'toggle'}, function(){
           $('#hokkaidou-index-wet1').css('display', 'none');
           $('#hokkaidou-index-wet1').css('display', 'none');
           $('#hokkaidou-index-wet2').css('display', 'none');
           $('#hokkaidou-index-wet2').css('display', 'none');

Revision as of 17:23, 26 September 2012