jquery Plugin SKIPPR implementation Focus Slide effects

Source: Internet
Author: User
Tags min

The most effective focus chart of the history of the slide jquery plugin skippr, lightweight plug-ins, responsive layout plug-ins, powerful parameter customization

configuration, can customize the switching speed, switching mode, whether to display the left and right arrows, whether AutoPlay, automatic playback interval, such as configuration parameters, call Plug-ins are also very easy to use, call the way below: 1. Load jquery and Plug-ins
1 2 3 <link rel= "stylesheet" href= "Css/jquery.skippr.css" > <script src= "js/jquery.min.js" ></script> <script src= "Js/jquery.skippr.min.js" ></script>
2.HTML Content
1 2 3 4 5 6 7 8 9 <div id= "Container" > <div id= "thetarget" > <div style= "Background-image:url (img/image1.jpg)" ></ div> <div style= "Background-image:url (img/image2.jpg)" ></div> <div style= "Background-image:url ( img/image3.jpg) "></div> <div style=" Background-image:url (img/image4.jpg) "></div> <div Style= "Background-image:url (img/image5.jpg)" ></div> </div> </div>
3. Function call
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 <script> $ (document). Ready (function () {$ ("#theTarget"). SKIPPR ({transition: ' slide ', speed:1000, easing: ' Easeo Utquart ', Navtype: ' Block ', Childrenelementtype: ' div ', arrows:true, Autoplay:false, autoplayduration:5000, KeyboardOn   Always:true, hideprevious:false}); }); </script>
parameter Configuration explains transition:(fade/slide) switching speed: Switching speed (milliseconds) easing: Switching effects (Easeoutquart) Navtype: Following navigation type (block/bubble) arrows : whether there are arrows (true/false) AutoPlay: AutoPlay (true/false) autoplayduration: AutoPlay interval (milliseconds) Keyboardonalways: Keyboard Switching is supported (True/false) Hideprevious: Hide the first toggle arrow (TRUE/FALSE)

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.