响应式图片展示,可以自定义展示个数,自适应宽度
XML/HTML Code
- <div class="container demo-1">
- <div class="main">
- <!-- Elastislide Carousel -->
- <ul id="carousel" class="elastislide-list">
- <li><a href="#"><img src="../demo1.jpg" alt="image01" /></a></li>
- <li><a href="#"><img src="images/small/2.jpg" alt="image02" /></a></li>
- <li><a href="#"><img src="images/small/3.jpg" alt="image03" /></a></li>
- <li><a href="#"><img src="images/small/4.jpg" alt="image04" /></a></li>
- <li><a href="#"><img src="images/small/5.jpg" alt="image05" /></a></li>
- <li><a href="#"><img src="images/small/6.jpg" alt="image06" /></a></li>
- <li><a href="#"><img src="images/small/7.jpg" alt="image07" /></a></li>
- <li><a href="#"><img src="images/small/8.jpg" alt="image08" /></a></li>
- <li><a href="#"><img src="images/small/9.jpg" alt="image09" /></a></li>
- <li><a href="#"><img src="images/small/10.jpg" alt="image10" /></a></li>
- <li><a href="#"><img src="images/small/11.jpg" alt="image11" /></a></li>
- <li><a href="#"><img src="images/small/12.jpg" alt="image12" /></a></li>
- <li><a href="#"><img src="images/small/13.jpg" alt="image13" /></a></li>
- <li><a href="#"><img src="images/small/14.jpg" alt="image14" /></a></li>
- <li><a href="#"><img src="images/small/15.jpg" alt="image15" /></a></li>
- <li><a href="#"><img src="images/small/16.jpg" alt="image16" /></a></li>
- <li><a href="#"><img src="images/small/17.jpg" alt="image17" /></a></li>
- <li><a href="#"><img src="images/small/18.jpg" alt="image18" /></a></li>
- <li><a href="#"><img src="images/small/19.jpg" alt="image19" /></a></li>
- <li><a href="#"><img src="images/small/20.jpg" alt="image20" /></a></li>
- </ul>
- <!-- End Elastislide Carousel -->
- </div>
- </div>
原文地址:http://www.freejs.net/article_jquerytupiantexiao_458.html