关于Carousel请见:
http://my.dajiaozi.com/jobj/27-jcarousel.html
之前是通过改变某个容器的 scrollLeft 来达到滚运效果的。但是当从第1个跳到第4个,中间的 2 和 3 都会快速的滚动过去(第2个跳到第5个,第5个跳到第1个也是一样,中间的内容都会快速滚动过去)。
http://my.dajiaozi.com/jobj/27-jcarousel.html
之前是通过改变某个容器的 scrollLeft 来达到滚运效果的。但是当从第1个跳到第4个,中间的 2 和 3 都会快速的滚动过去(第2个跳到第5个,第5个跳到第1个也是一样,中间的内容都会快速滚动过去)。
现在需求有变化,当从第1个跳到第3个(举例,从第5个跳到第2个也是一样)时,第2个要求不能看见。
请观察以下两个不同:
http://test.dajiaozi.com/other/Carousel/Carousel1.html
http://test.dajiaozi.com/other/Carousel/Carousel2.html
http://test.dajiaozi.com/other/Carousel/Carousel1.html
http://test.dajiaozi.com/other/Carousel/Carousel2.html
| < Prev | Next > |
|---|
Last Updated ( Wednesday, 13 May 2009 16:55 )



