简单的slider滑动
XML/HTML Code
- <div class="slider-wrap">
- <div class="slider">
- <ul>
- <li> <span class="black"></span> </li>
- <li> <span class="red"></span> </li>
- <li> <span class="yellow"></span> </li>
- <li> <span class="blue"></span> </li>
- <li> <span class="green"></span> </li>
- </ul>
- </div>
- <a href="#" class="slider-arrow sa-left"><</a> <a href="#" class="slider-arrow sa-right">></a> </div>
- </div>
- <script>
- jQuery('.slider').lbSlider({
- leftBtn: '.sa-left',
- rightBtn: '.sa-right',
- visible: 3,
- autoPlay: true,
- autoPlayDelay: 5
- });
- </script>
原文地址:http://www.freejs.net/article_jquerytupiantexiao_168.html