首页 > 特效插件 > 滚动轮播 >  jquery图片滑动轮播正文

jquery图片滑动轮播

特效介绍
jquery图片滑动轮播
jquery图片滑动轮播

jquery图片滑动轮播,图片和描述性文字以及产品依次有序的滑动。
使用方法
1、在head引入下面的代码:
01<link rel="stylesheet" type="text/css" href="css/slide.css"/>
03<script type="text/javascript" src="js/slide.js"></script>
04<script type="text/javascript">
05$(document).ready(function() {
06    $(".slideInner").slide({
07        slideContainer: $('.slideInner a'),
08        effect: 'easeOutCirc',
09        autoRunTime: 5000,
10        slideSpeed: 1000,
11        nav: true,
12        autoRun: true,
13        prevBtn: $('a.prev'),
14        nextBtn: $('a.next')
15    });
16});
17</script>
2、在body引入下面的代码:
01<div class="slides">
02    <div class="slideInner">
03        <a href="#" style="background: url(img/slide1.jpg) no-repeat;">
04            <div class="moveElem img1" rel="0,easeInOutExpo"> <img src="img/slide1p1.png" /> </div>
05            <div class="moveElem img2" rel="150,easeInOutExpo"> <img src="img/slide1p2.png" /> </div>
06        </a>
07        <a href="#" style="background: url(img/slide2.jpg) no-repeat">
08            <div class="moveElem img1" rel="0,easeInOutExpo"> <img src="img/slide2p1.png" /> </div>
09        </a>
10        <a href="#" class="slide3" style="background: url(img/slide3.jpg) no-repeat;">
11            <div class="moveElem img1" rel="0,easeInOutExpo"> <img src="img/slide3p1.png" /> </div>
12            <div class="moveElem img2" rel="150,easeInOutExpo"> <img src="img/slide3p2.png" /> </div>
13            <div class="moveElem img3" rel="300,easeInOutExpo"> <img src="img/slide3p3.png" /> </div>
14        </a>
15        <a href="#" style="background: rgb(113, 209, 231);">
16            <div class="moveElem img1" rel="0,easeInOutExpo"> <img src="img/slide1p1.png" /> </div>
17            <div class="moveElem img2" rel="150,easeInOutExpo"> <img src="img/slide1p2.png" /> </div>
18        </a>
19        <a href="#" style="background: rgb(178, 44, 44);">
20            <div class="moveElem img1" rel="0,easeInOutExpo"> <img src="img/slide1p1.png" /> </div>
21            <div class="moveElem img2" rel="150,easeInOutExpo"> <img src="img/slide1p2.png" /> </div>
22        </a>
23    </div>
24    <div class="nav">
25        <a class="prev" href="javascript:;"></a>
26        <a class="next" href="javascript:;"></a>
27    </div>
28</div>