Background Slider Plugin jQuery sliderResponsive - Download Responsive Background Image Slider Plugin - jQuery sliderResponsive

Download Responsive Background Image Slider Plugin – jQuery sliderResponsive

Posted on

This time I will share jQuery Plugin and tutorial about Responsive Background Image Slider Plugin – jQuery sliderResponsive, hope it will help you in programming stack.

Background Slider Plugin jQuery sliderResponsive - Download Responsive Background Image Slider Plugin - jQuery sliderResponsive

File Size: 4.65 KB
Views Total: 14167
Last Update:
Publish Date:
Official Website: Go to website
License: MIT
   

sliderResponsive is a tiny jQuery plugin for creating a fully responsive background image carousel/slider/slideshow with animated captions and pagination/navigation controls.

More features:

  • Auto rotation.
  • Auto pause on hover.
  • Zoom on hover.
  • Configurable animation speed & transition delay.

View more:

How to use it:

1. Include the plugin and other resources in the html file.

1 <link href="sliderResponsive.css" rel="stylesheet">
2 <script src="//code.jquery.com/jquery-3.2.1.min.js"></script>
3 <script src="sliderResponsive.js"></script>

2. Add custom background images together with caption bar and pagination arrows to the slider.

01 <div class="slider" id="slider-demo">
02   <!-- Slides -->
03   <div style="background-image:url(1.jpg)"></div>
04   <div style="background-image:url(2.jpg)"></div>
05   <div style="background-image:url(3.jpg)"></div>
06   <div style="background-image:url(4.jpg)"></div>
07   <div style="background-image:url(5.jpg)"></div>
08   <!-- The Arrows -->
09   <i class="left" class="arrows" style="z-index:2; position:absolute;"><svg viewBox="0 0 100 100"><path d="M 10,50 L 60,100 L 70,90 L 30,50  L 70,10 L 60,0 Z"></path></svg></i>
10   <i class="right" class="arrows" style="z-index:2; position:absolute;"><svg viewBox="0 0 100 100"><path d="M 10,50 L 60,100 L 70,90 L 30,50  L 70,10 L 60,0 Z" transform="translate(100, 100) rotate(180) "></path></svg></i>
11   <!-- Caption Bar -->
12   <span class="titleBar">
13     <h1><a href="https://www.jqueryscript.net/slider/">Slider</a> Description Here</h1>
14   </span>
15 </div>

3. Initialize the plugin to generate a basic slider with default settings.

1 $("#slider-demo").sliderResponsive();

4. Customize the slider as per your needs.

01 $("#slider-demo").sliderResponsive({
02  
03   // transition delay
04   slidePause: 5000,
05  
06   // animation speed
07   fadeSpeed: 800,
08  
09   // enable autoplay
10   autoPlay: "on",
11  
12   // show navigation arrows
13   showArrows: "off",
14  
15   // hide pagination bullets
16   hideDots: "off",
17  
18   // show 'zoom on hover' effect
19   hoverZoom: "on",
20  
21   // place the caption bar on the top
22   titleBarTop: "off"
23    
24 });

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

source : jqueryscript.net