Mobile-friendly JSON Carousel In jQuery - Slider2

File Size: 5.94 KB
Views Total: 4798
Last Update:
Publish Date:
Official Website: Go to website
License: MIT
Mobile-friendly JSON Carousel In jQuery - Slider2

Just another jQuery based slider/swiper that dynamically renders a responsive, touch-enabled, cross-platform carousel slider from an array of images with links defined in a JSON file.

The carousel will automatically slide through images and you can also switch between images by clicking left/right arrows or via touch swipe.

How to use it:

1. Load the necessary jQuery JavaScript library and jQuery easing plugin from CDN.

<script src="" 
<script src=""></script>

2. Build the HTML structure for the carousel.

<div class="slider_wrapper">
  <div class="slider">
  </div> <!-- /.slider -->
  <div class="slider_objects"></div>

3. Insert an array of objects containing image paths and links in the /data/file_name.json.


4. Load the Slider2 plugin's JavaScript and CSS in the document. That's it.

<link rel="stylesheet" href="css/style.css">
<script src="js/main.js"></script>

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