jquery.slimer

0.0.3 • Public • Published

jquery.slimer.js

Simple slider with timer and progress bar.

https://github.com/biko2/jquery-slimer

Demo

See the jquery.slimer.js demo.

Install

jQuery is required, so include it first. Download jquery.slimer.js and include the script in your HTML file:

<script src="jquery.slimer.js" type="text/javascript"></script>

You can also install using the package managers Bower

bower install jquery-slimer

Usage

$(function() {
	$('.item').slimer(options);
});

Where options is an optional parameter.
See below for a description of the available options and defaults.

Options

The default options are:

{
  time: 10000,
  classBar: '.js-progress-bar',
  classWrapper: '.js-slider-wrap',
  classHidden: 'hidden',
  classLeft: '.js-slider-left',
  classRight: '.js-slider-right'
}

POWERED by BIKO2

Twitter: @biko2

Readme

Keywords

Package Sidebar

Install

npm i jquery.slimer

Weekly Downloads

1

Version

0.0.3

License

MIT

Last publish

Collaborators

  • oierbravo