SliderPlex
A simple and responsive jQuery content slider plugin. See a demo.
Table of contents
Installation
Install it using one of the follow options:
-
Using Git:
git clone git://github.com/e200/SliderPlex.git
-
Using Bower:
bower install sliderplex
-
Using npm:
npm install sliderplex
in a terminal/prompt in your project folder, then add jQuery and SliderPlex files (CSS & JavaScript) to your page:
<!-- jQuery must be before SliderPlex -->
Usage
First, setup your slider structure:
Sets how many slides you want. Then, initialize the SliderPlex before the body close tag:
Full usage code:
SliderPlex example !-- jQuery must be before SliderPlex -->
And... That's it!!! :)
Options
You can pass an object containing options to the SliderPlex initialization method:
;
Available options:
autoPlay | default: true
slideInterval | default: 8 (sec)
animation | default: 'fade' [fade, zoom, slide]
animationTime | default: .5 (sec)
direction | default: 'right'
arrows | default: true
nonFocusArrows | default: false
pauseOnMouseOver | default: false
pauseOnMouseDown | default: true
fillSpace | default: true
Contributing
To contribute, please, read contributing.
Bugs
Please, open an issue, or report to: eleandro@inbox.ru.
Credits
- Eleandro Duzentos and contributors.
License
The SliderPlex is licensed under the MIT license. See License file for more information.