2个不同的图片效果,可以用焦点图
XML/HTML Code
- <div id="rondellSlider">
- <img src="images/slider/pic1.png" alt="unicorn" title="A beautiful unicorn">
- <img src="images/slider/pic2.png" alt="swan" title="Swan on the alpsee">
- <img src="images/slider/pic3.png" alt="landscape" title="Great landscape">
- <img src="images/slider/pic4.png" alt="mountains" title="Austrian mountains">
- </div>
JavaScript Code
- <script type="text/javascript">
- (function() {
- $(function() {
- return $('#rondellSlider > *').rondell({
- preset: 'slider'
- });
- });
- }).call(this);
- </script>
原文地址:http://www.freejs.net/article_jquerytupiantexiao_153.html