While there are a ton of jQuery carousel plugins out there, I like to roll my own.
Reading through their code I've noticed that people manipulate either scrollLeft or position (left: -100px) in order to "move" the carousel.
Which one is b开发者_运维问答etter? Are there any performance benefits from one or the other?
example using scroll: http://jqueryfordesigners.com/jquery-infinite-carousel/
加载中,请稍侯......
精彩评论