Team:UCLA/Template/Javascript

From 2014.igem.org

(Difference between revisions)
Line 180: Line 180:
     });
     });
     $('.slider_right').click(function(){
     $('.slider_right').click(function(){
-
         if(count < 2){
+
         if(count < 3){
             $('.slider_imgs').stop(true,true).animate({ left: '-=1150px'}, 250);
             $('.slider_imgs').stop(true,true).animate({ left: '-=1150px'}, 250);
             count += 1;
             count += 1;

Revision as of 08:05, 17 October 2014