JQuery plugin Skippr implementation focus chart, jqueryskippr
Best-performing focus chart slides in history: jQuery plug-in Skippr, lightweight plug-in, responsive layout plug-in, powerful parameter custom configuration, you can customize the switching speed, switching mode, display left and right arrows, automatic playback, automatic playback interval, and other configuration parameters. It is also very easy to call plug-ins. The Calling method is described below: 1. load jQuery and plug-ins
<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
<div id="container"> <div id="theTarget"> <div><script> $(document).ready(function(){ $("#theTarget").skippr({ transition: 'slide', speed: 1000, easing: 'easeOutQuart', navType: 'block', childrenElementType: 'div', arrows: true, autoPlay: false, autoPlayDuration: 5000, keyboardOnAlways: true, hidePrevious: false }); }); </script>
Parameter configuration explanation transition :( fade/slide) switching mode speed: switching speed (millisecond) easing: easeOutQuart navType: The following navigation type (block/bubble) arrows: autoPlay: whether to play automatically (true/false) autoPlayDuration: automatic playback interval (MS) keyboardOnAlways: whether to support keyboard switching (true/false) hidePrevious: hide the first switched arrow (true/false)
The above is all the content of this article. I hope you will like it.