jquery plug-in slides to achieve seamless carousel map special effects _jquery

Source: Internet
Author: User
Tags prev

Initialize plug-in:

Slides is a jquery seamless wheel-map plug-in, support in-diagram element animation, you can customize the animation type

$ (". Slideinner"). Slide ({
slidecontainer: $ ('. Slideinner a '),
effect: ' Easeoutcirc ',//animation type
Autoruntime : 5000,//Automatic Carousel time
slidespeed:1000,//speed
nav:true,//whether or not to display the left or right navigation
autorun:true,//automatically scroll
prevbtn: $ (' A.prev '),//left button
nextbtn: $ (' a.next ')/Right button
});

Compatibility: ie8+, Google, Firefox, 360, QQ, Oupeng, Safi

HTML instance:

Slides the default is to add the Rel property on an animated effect element to an element with the class name Moveelem inside the slider to set the corresponding delay execution time and animation type two properties each slider can add multiple elements at the same time

<body> <div class= "Slides" > <div class= "Slideinner" > <a href= "#" style= "Background:url ( img/slide1.jpg) no-repeat; "
        > <div class= "Moveelem img1" rel= "0,easeinoutexpo" >  </div> <div class= "Moveelem img2" rel= "150,easeinoutexpo" >  </div> </a> <a href= "#" style= "Background:url (img/slide2.jpg) no-repeat" > <div class= "Moveelem img1" rel= "0,easeinoutexpo" >  </d iv> </a> <a href= "#" class= "Slide3" style= "Background:url (img/slide3.jpg) no-repeat;"
        > <div class= "Moveelem img1" rel= "0,easeinoutexpo" >  </div> <div class= "Moveelem img2" rel= "150,easeinoutexpo" >      </div> <div class= "Moveelem img3" rel= "300,easeinoutexpo" >  </div> </a> <a href=" # "style=" Background:rgb (113, 209, 231); "
        > <div class= "Moveelem img1" rel= "0,easeinoutexpo" >  </div> <div class= "Moveelem img2" rel= "150,easeinoutexpo" >  </div> </a> <a href= "#" style= "Background:rgb (178, 44, 44);"
        > <div class= "Moveelem img1" rel= "0,easeinoutexpo" >  </div> <div class= "Moveelem img2" rel= "150,easeinoutexpo" >  </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 Download Address: https://github.com/727712787/jquery.slides/archive/master.zip

The above mentioned is the entire content of this article, I hope you can enjoy.

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.