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

Revision as of 17:06, 26 September 2012