This time I will share jQuery Plugin and tutorial about Responsive Any Content Carousel Plugin – jQuery JumboSlider, hope it will help you in programming stack.
JumboSlider is a simple-to-use, fully responsive jQuery slider & carousel plugin for showcasing any kind of content (images, products, videos, testimonials, etc) on the web application.
More Features:
- Navigation arrows.
- Pagination bullets.
- Keyboard interactions.
- Autoplay or not.
- Infinite loop or not.
- Configurable transition effect.
- Auto adapts to the content size.
How to use it:
1. To get started, download the package and insert the following JavaScript & CSS files into the document.
1 |
< link href = "/path/to/dist/css/jumboslider.css" rel = "stylesheet" /> |
2 |
< script src = "/path/to/cdn/jquery.min.js" ></ script > |
3 |
< script src = "/path/to/dist/js/jquery.jumboslider.js" ></ script > |
2. Wrap your content into the slider following the markup structure like these:
01 |
<div class= "jumboslider" > |
02 |
<div class= "jumboslider-viewport" > |
03 |
<div class= "jumboslider-overview" > |
04 |
<div class= "jumboslider-item" > |
07 |
<div class= "jumboslider-item" > |
10 |
<div class= "jumboslider-item" > |
13 |
<div class= "jumboslider-item" > |
16 |
<div class= "jumboslider-item" > |
3. Call the jumboslider function and the plugin will do the rest.
4. Or call the plugin and determine the selector of the target container. Default: ‘.jumboslider’.
5. Enable/disable the slider controls.
6. Set the start slide on page load. Default: 1 (slide 1).
7. Enable/disable the infinite loop functionality. Default: false.
8. Enable/disable the autoplay functionality. Default: false.
9. Determine the transition speed in milliseconds. Default: 500.
10. API methods.
11. Event handlers.
01 |
mySlider.on( 'onSlide' , function (e, target) { |
05 |
mySlider.on( 'onArrowClick' , function (e, target) { |
09 |
mySlider.on( 'onPaginationClick' , function (e, target) { |
This awesome jQuery plugin is developed by martinmethod. For more Advanced Usages, please check the demo page or visit the official website.