Team:UCLA/Template/Javascript

From 2014.igem.org

(Difference between revisions)
 
(One intermediate revision not shown)
Line 216: Line 216:
             count -= 1;
             count -= 1;
         } else{
         } else{
-
             $('.hpslider_imgs').stop(true,true).animate({ left: '+=20px'}, 100, function(){$('.hpslider_imgs').stop(true,true).animate({ left: '-=20px'}, 500)});
+
             $('.hpslider_imgs').stop(true,true).animate({ left: '-=16100px'}, 250);
 +
            count = 14;
 +
//            $('.hpslider_imgs').stop(true,true).animate({ left: '+=20px'}, 100, function(){$('.hpslider_imgs').stop(true,true).animate({ left: '-=20px'}, 500)});
         }
         }
     });
     });

Latest revision as of 02:45, 18 October 2014