- Stylish 3D Flip Animation
- Pure JavaScript, no jQuery or any other JS library used
- Very light file size. (2.5 kb uncompressed version JS)
- Supports Images as well as HTML contents
- Highly Customizable
- Readable CSS and JS, well commented so that you can make your changes as per your requirements
- Easy to trigger Events from outside elements
- Set start slide index as per your choice
http://ashishkumar-ui.github.io/3D-Flip-Slider/
https://github.com/ashishanexpert/Flip-Slider/
####How to Create Instances of the 3D Slider
var flip1 = new FlipSlider({
startIndex: 3,
container: document.querySelector(".flip-slider")
});
var flip2 = new FlipSlider({
container: document.getElementById("#flipSlider2")
});
// Binding Previous Event
document.querySelector("#flipPrevious").onclick = flip1.prevFlip;
// Binding Next Event
document.querySelector("#flipNext").onclick = flip1.nextFlip;
flip1.prevFlip(); // Trigger Previous Event
flip1.nextFlip(); // Trigger Next Event
<p><b onclick="flip1.prevFlip();">Click here</b> to flip Previous the slider</p>
<p><b onclick="flip1.nextFlip();">Click here</b> to flip next the slider</p>