one function not running with jQuery infinite carousel build

getmoney18

New Member
so i have tried making myself an infinite carousel using html, css & jQuery and everything is working apart from the back button will not loop, i've spent quite a while doing this now and i'm wondering if anyone has any insight? http://jsfiddle.net/e2SKk/ is where you can see the code! i'm only really doing this because i thought it would give me a chance to learn a lot more, but any criticisms of code layout or technique would be helpful!specifically its this code thats seems not to work\[code\]else if(loopPrev==true){ sliderActive=true $('.item-holder').css({ 'left':clonePos }); $('.item-holder').animate({ 'left':holderPos+$('.slider').width()+'px' },function(){ sliderActive=false; }); };\[/code\]that is only a snippet btw and won't make much sense without the rest!
 
Back
Top