I ve looked everywhere but I can t find a proper answer (maybe I missed it). In my carousel, when an item is clicked, it should move, by sliding, to the middle of carousel. I m using animate({scrollLeft: value }, speed);
but it doesn t do any animation, but if I do scrollTop
it works (by tweaking the css of course...).
Why is scrollTop: value
working and scrollLeft: value
not working, in animate()
?
Please check my jsFiddle: http://jsfiddle.net/rKAHV/
很多人