队列slide滚动,始终占满宽度的切换效果
JavaScript Code
- <script defer>
- (function($) {
- $(window).bind('load', function() {
- $('div#qs1').queueSlider();
- $('div#qs2').queueSlider({
- fade: -1,
- transitionSpeed: 300,
- speed: 0,
- direction: -1,
- offScreen: false,
- previous: 'v',
- next: 'v'
- });
- });
- }(jQuery));
- </script>
XML/HTML Code
- <div id="qs1" class="queueslider">
- <ul class="queue">
- <li><img src="images/img1.jpg" alt="Entering Louisville, KY" /></li>
- <li><img src="images/img2.jpg" alt="Bridges" /></li>
- <li><img src="images/img3.jpg" alt="Chicago, IL from Grant Park" /></li>
- <li><img src="images/img4.jpg" alt="Bridge in Chicago, IL" /></li>
- </ul>
- </div>
原文地址:http://www.freejs.net/article_jquerytupiantexiao_501.html