JQuery plug-in slides for seamless carousel image effects, jqueryslides

Source: Internet
Author: User

JQuery plug-in slides for seamless carousel image effects, jqueryslides

Initialize the plug-in:

Slides is a jQuery-Based Seamless carousel graph plug-in that supports element animation in the graph and allows you to customize the animation type.

12345678910 $(".slideInner").slide({slideContainer: $('.slideInner a'),effect: 'easeOutCirc',// Animation typeautoRunTime: 5000,// Automatic carousel timeslideSpeed: 1000,// Speednav: true,// Whether to display left and right navigationautoRun: true,// Whether to scroll automaticallyprevBtn: $('a.prev'),// Left buttonnextBtn: $('a.next')// Right button});

Compatibility: ie8 +, google, firefox, 360, QQ, oupeng, safi

Html instance:

By default, slides adds the rel attribute on the animation effect element to the element named moveElem in each slider. It sets the corresponding delayed execution time and animation type. add multiple elements at the same time

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051 <body>  <div class="slides">    <div class="slideInner">      <a href="#" style="background: url(img/slide1.jpg) no-repeat;">        <div class="moveElem img1" rel="0,easeInOutExpo">          <img src="img/slide1p1.png" />        </div>        <div class="moveElem img2" rel="150,easeInOutExpo">          <img src="img/slide1p2.png" />        </div>      </a>      <a href="#" style="background: url(img/slide2.jpg) no-repeat">        <div class="moveElem img1" rel="0,easeInOutExpo">          <img src="img/slide2p1.png" />        </div>      </a>      <a href="#" class="slide3" style="background: url(img/slide3.jpg) no-repeat;">        <div class="moveElem img1" rel="0,easeInOutExpo">          <img src="img/slide3p1.png" />        </div>        <div class="moveElem img2" rel="150,easeInOutExpo">          <img src="img/slide3p2.png" />        </div>        <div class="moveElem img3" rel="300,easeInOutExpo">          <img src="img/slide3p3.png" />        </div>      </a>      <a href="#" style="background: rgb(113, 209, 231);">        <div class="moveElem img1" rel="0,easeInOutExpo">          <img src="img/slide1p1.png" />        </div>        <div class="moveElem img2" rel="150,easeInOutExpo">          <img src="img/slide1p2.png" />        </div>      </a>      <a href="#" style="background: rgb(178, 44, 44);">        <div class="moveElem img1" rel="0,easeInOutExpo">          <img src="img/slide1p1.png" />        </div>        <div class="moveElem img2" rel="150,easeInOutExpo">          <img src="img/slide1p2.png" />        </div>      </a>     </div>    <div class="nav">      <a class="prev" href="#"></a>      <a class="next" href="#"></a>    </div>  </div></body>

Github address: https://github.com/727712787/jquery.slides: https://github.com/727712787/jquery.slides/archive/master.zip

 

From: http://www.jb51.net/article/64306.htm

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.