Easy Infinite Image Slider Plugin with jQuery - easySlider
File Size: | 23.8 KB |
---|---|
Views Total: | 1491 |
Last Update: | |
Publish Date: | |
Official Website: | Go to website |
License: | MIT |

An easy & unobtrusive jQuery slideshow plugin for automatically and infinitely sliding a list of images that act like a carousel.
How to use it:
1. Load the required jquery.easySlider.css
in the header for basic slideshow styles.
<link rel="stylesheet" href="jquery.easySlider.css">
2. Load jQuery library and the jQuery easySlider plugin in the footer to improve the page load time.
<script src="//code.jquery.com/jquery-1.11.1.min.js"></script> <script src="jquery.easySlider.js"></script>
3. Insert a list of images into the slideshow using Html unordered list.
<ul class="slider-lists"> <li class="slider-list"> <img src="1.png"> </li> <li class="slider-list"> <img src="2.png"> </li> <li class="slider-list"> <img src="3.png"> </li> <li class="slider-list"> <img src="4.png"> </li> <li class="slider-list"> <img src="5.png"> </li> </ul>
4. The Html to create controls for the slideshow.
<span class="slider-derec slider-prev"></span> <span class="slider-derec slider-next"></span> <ul class="slider-dots"> <li class="slider-dot active"></li> <li class="slider-dot"></li> <li class="slider-dot"></li> <li class="slider-dot"></li> <li class="slider-dot"></li> </ul>
5. Call the plugin and override the default options for the slideshow.
$('.easySlider').easySlider({ // the width of your slideshow width:500, // the height of your slideshow height:250, // the number of your images imgCount:5, // animation speed speed:500, // animation delay delay:3000, // auto play on page load autoPlay:false, // Dots navigation dots:true })
This awesome jQuery plugin is developed by wenyuking. For more Advanced Usages, please check the demo page or visit the official website.