Responsive Lightweight Image Slider Plugin For jQuery

Responsive Lightweight Image Slider Plugin For jQuery
File Size: 7.69 KB
Views Total: 3724
Last Update:
Publish Date:
Official Website: Go to website
License: MIT

A lightweight, full-free jQuery plugin used to create a responsive, touch-enabled (requires hammer.js), cross-fading or infinitely sliding image slider/carousel for both desktop and mobile webpages.

How to use it:

1. Import the necessary JavaScript and CSS files into the webpage.

<!-- Stylesheet -->
<link rel="stylesheet" href="free-simple-slider.css">
<!-- JavaScript -->
<script src="//"></script>
<script src="free-simple-slider.js"></script>

2. Import the OPTIONAL hammer.js library for touch gestures support.

<script src="/path/to/hammer.min.js"></script>

3. Create a list of images to be presented in the slider.

<ul id="slider-demo" class="slider-list">
  <li class="current"><img src="1.jpg" alt=""></li>
  <li><img src="2.jpg" alt=""></li>
  <li><img src="3.jpg" alt=""></li>

4. Initialize the plugin to generate a default slider.


5. Enable/disable the slider controls.

  dots: false, // pagination bullets
  arrows: true, // navigation arrows

6. Config the animation when transitioning between images.

  time: 5000, // in ms
  animation: "fade" // or "slide", "basic"

This awesome jQuery plugin is developed by frontendovh. For more Advanced Usages, please check the demo page or visit the official website.