In this tutorial I am going to show you How to Create Full width Responsive Background Image Slider/carousel/slideshow with autoPlay, navigation arrows and title bar feature. This is a very tiny image slider with almost all needed features for any banner slider. In default feature it 100% container width, 500px height. Pauses slideshow on hover.Images are Background-images. Filling the container div regardless of the image size.
Notable features:
* Auto rotation.
* Auto pause on hover.
* Zoom on hover.
* Configurable animation speed & transition delay.
Integrate Full width Responsive Background Image Slider
Follow below simple steps to Integrate Full width Responsive Background Image Slider on your website as header banner of portfolio slideshow.
Libraries
Include all the required (JS+CSS) libraries on page.
<link href="slider.css" rel="stylesheet" type="text/css"> <script src="https://code.jquery.com/jquery-latest.min.js">script> <script src="slider.js">script> |
HTML
Markup html container with custom background images together with caption bar and pagination arrows to the slider.
|
JS
Call the slider function to generate a basic slider with default settings.
$(function() { $("#sliderdemo").sliderResponsive(); }); |
Create slider with custom option with more controls.
$(function() { $("#sliderdemo").sliderResponsive({ slidePause: 5000, fadeSpeed: 800, autoPlay: "on", showArrows: "off", hideDots: "off", hoverZoom: "on", titleBarTop: "off" }); }); |
See demo and download source code.
See official repository for more information and follow for future updates.