特效介绍

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' , |
2、在body引入下面的代码:
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 > |
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 > |
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 > |
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 > |
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 > |
25 | < a class = "prev" href = "javascript:;" ></ a > |
26 | < a class = "next" href = "javascript:;" ></ a > |