jquery全屏图片滑动切换代码,固定高度
JavaScript Code
- <script >
- $(document).ready(function() {
- $(".slideInner").slide({
- slideContainer: $('.slideInner a'),
- effect: 'easeOutCirc',
- autoRunTime: 5000,
- slideSpeed: 1000,
- nav: true,
- autoRun: true,
- prevBtn: $('a.prev'),
- nextBtn: $('a.next')
- })
- })
- </script>
XML/HTML Code
- <div class="slides">
- <div class="slideInner">
- <a href="#" style="background: url(images/slide1.jpg) no-repeat;">
- </a>
- <a href="#" style="background: url(images/slide2.jpg) no-repeat">
- </a>
- <a href="#" class="slide3" style="background: url(images/slide3.jpg) no-repeat;">
- </a>
- </div>
- <div class="nav">
- <a class="prev" href="javascript:;"></a>
- <a class="next" href="javascript:;"></a>
- </div>
- </div>
原文地址:http://www.freejs.net/article_jiaodiantu_540.html