Team:UCLA/Template/Javascript
From 2014.igem.org
(Difference between revisions)
Samichaels (Talk | contribs) |
Anuvedverma (Talk | contribs) |
||
Line 180: | Line 180: | ||
}); | }); | ||
$('.slider_right').click(function(){ | $('.slider_right').click(function(){ | ||
- | if(count < | + | 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