JQuery plug-in slick implements responsive mobile client slide Image switching effects, jqueryslick
JQuery responsive mobile phone client slide Image switching special effect plug-in slick. Based on jQuery, this plug-in is very powerful. It supports switching between left and right buttons, dot switching, and custom switching quantity, supports custom switching speeds, image pre-loading, and automatic playback. The effect is very good. Many custom parameters are supported. For details, refer to their parameter configurations, it is worth learning to use.
Usage:
1. Load plug-ins and jQuery
<script src="//code.jquery.com/jquery-1.11.0.min.js"></script> <script src="//code.jquery.com/jquery-migrate-1.2.1.min.js"></script> <script type="text/javascript" src="slick/slick.js"></script> <link rel="stylesheet" type="text/css" href="slick/slick.css"/>
2. HTML content
<div class="slider fade"> <div><div class="image"></div></div> <div><div class="image"></div></div> <div><div class="image"></div></div> </div>
3. function call
<script type="text/javascript"> $(document).ready(function() { $('.fade').slick({ dots: true, infinite: true, speed: 500, fade: true, slide: 'div', cssEase: 'linear' }); }); </script>
View DEMO download now
The above is all the content of this article. I hope you will like it.