基于jQuery按钮控制单排图片切换代码。这是一款带有左右箭头按钮控制的图片动感滚动切换特效。效果图如下:
实现的代码。
html代码:
<div id="content"> <div id="binder"> <div class="prev"></div> <ul class="list"> <li><img src="images/item/1.png" width="78" /></li> <li><img src="images/item/2.png" width="78" /></li> <li><img src="images/item/3.png" width="78" /></li> <li><img src="images/item/4.png" width="78" /></li> <li><img src="images/item/5.png" width="78" /></li> <li><img src="images/item/6.png" width="78" /></li> <li><img src="images/item/7.png" width="78" /></li> <li><img src="images/item/8.png" width="78" /></li> <li><img src="images/item/9.png" width="78" /></li> <li><img src="images/item/10.png" width="78" /></li> <li><img src="images/item/11.png" width="78" /></li> <li><img src="images/item/12.png" width="78" /></li> <li><img src="images/item/13.png" width="78" /></li> <li><img src="images/item/14.png" width="78" /></li> <li><img src="images/item/15.png" width="78" /></li> <li><img src="images/item/16.png" width="78" /></li> <li><img src="images/item/17.png" width="78" /></li> <li><img src="images/item/18.png" width="78" /></li> </ul> <div class="next"></div> </div> </div>
via:http://www.w2bc.com/article/85576