Features
Keyboard Support
Autoplay
Random play
Pause on Hover
Progressbar
Vertical animation
Horizontal animation
Short info
How to Install
Step 1: Link required files
The jQuery library needs to be included. Include vs-slider.js and vs-slider.css
<script src="//ajax.googleapis.com/ajax/libs/jquery/1.12.2/jquery.min.js"></script>
<script src="src/js/sliderShowcase.js"></script>
<link href="src/css/slidershowcase.css" rel="stylesheet" />
Step 2: HTML Markup
You need a container with a unique ID. Inside this container, you have to create a div for each slide. Also you'll need an img tag.
House 1
Lorem ipsum dolor sit amet, coetetur sadipscing elitr, sed diam nonumy eirmod tempor invidunt ut labore et dolore magna aliquyam erat, sed diam voluptua. At vero eos et accusam et justo duo dolores et ea rebum. Stet clita kasd gubergren, takimata sanctus est Lorem ipsum dolor sit amet.
read more
House 1
Lorem ipsum dolor sit amet, coetetur sadipscing elitr, sed diam nonumy eirmod tempor invidunt ut labore et dolore magna aliquyam erat, sed diam voluptua. At vero eos et accusam et justo duo dolores et ea rebum Lorem ipsum dolor sit amet.
read more
You can use data-info="YOUR_INFO"
on your img tag for some short info

Step 3: Call the plugin
Call your plugin with the unique ID container.
$(document).ready(function(){
$('#demo-slider').SliderShowcase();
});
Options
default: false
options: boolean true/false
default: false
options: boolean true/false
default: 5000
options: integer
default: false
options: boolean (true/false)
'vertical'
or 'horizontal'
default: 'vertical'
options: string
default: 'label label-info'
options: string
default: true
options: boolean true/false
showCount
current and total output (e.g. %c of %t)
default: '%c / %t'
options: string
default: 37
options: integer
default: 39
options: integer
default:
options: string
default:
options: string
default: null
options: string
breakpoint: settings will be used if viewport is smaller or same as
breakpoint
if
sliderHeight
is not given, it will use viewport full height.imageHeight
will change the height of the image
default:
{
breakpoint: 768,
settings: {
imageHeight: 400
}
},
{
breakpoint: 480,
settings: {
imageHeight: 200
}
}