简单的左右切换的焦点图 图片作为背景图的焦点图
XML/HTML Code
- <div id="myslider" class="io-lightslider io-ls-animated-slow" data-slider-timeout="5000" data-slider-height="450">
- <div class="io-ls-field">
- <div class="io-ls-container">
- <div class="io-ls-wrapper">
- <div class="io-ls-slide">
- <div class="io-ls-bgimg" style="background-image: url('http://www.freejs.net/demo/742/images/img1.jpg');">Freejs.net</div>
- </div>
- <div class="io-ls-slide">
- <div class="io-ls-bgimg" style="background-image: url('http://www.freejs.net/demo/742/images/img2.jpg');">www.freejs.net</div>
- </div>
- </div>
- </div>
- </div>
- <div class="io-ls-controls">
- <div class="io-ls-arrows_container"></div>
- <div class="io-ls-bullet_container"></div>
- </div>
- </div>
原文地址:http://www.freejs.net/article_jiaodiantu_769.html