Dynamic Responsive Slideshow Plugin With jQuery - simpleSlideShow
File Size: | 3.97 KB |
---|---|
Views Total: | 2736 |
Last Update: | |
Publish Date: | |
Official Website: | Go to website |
License: | MIT |

simpleSlideShow is a simple, lightweight jQuery plugin for dynamically generating a responsive, cross-fading slideshow from an array of images defined in the JavaScript.
How to use it:
1. Create a container element for your slideshow.
<div id='slideShow'></div>
2. Include jQuery library and the JavaScript file simpleSlideShow.js
right before the closing body tag.
<script src="//code.jquery.com/jquery.min.js"></script> <script src="simpleSlideShow.js"></script>
3. Call the function on the container element and define an array of images you want to present.
$('#slideShow').simpleSlideShow({ urls:[ "1.jpg", "2.jpg", "3.jpg" ] })
4. Override the default animation duration.
$('#slideShow').simpleSlideShow({ time: 8, // 8 seconds })
5. Override the transition time.
$('#slideShow').simpleSlideShow({ transition: 10 // 1 second })
This awesome jQuery plugin is developed by michaeldfaber. For more Advanced Usages, please check the demo page or visit the official website.