Important: This documentation covers Yarn 1 (Classic).
For Yarn 2+ docs and migration guide, see yarnpkg.com.

Package detail

jquery-cccarousel

simple jquery-carousel

jquery-plugin, slider, responsive-slider, github

readme

jQuery Carousel

simple Carousel with jQuery

Demo & Example

https://albert-cyberhulk.github.io/jQuery-Carousel/

Getting Started

Clone a Git repository using the command line.

Installation

npm

npm install jquery-carousel --save

or

bower

bower install jquery-carousel --save

add it to your HTML file

<script src="bower_components/jquery-carousel/dist/jquery-carousel.min.js"></script>

or

<script src="node_modules/jquery-carousel/dist/jquery-carousel.min.js"></script>

The built version of jquery-carousel will be put in the dist/ directory, along with the minified copy.

Install npm packages

npm install

Install bower packages

bower install

Install Grunt cli as a global node module

npm install -g grunt-cli

To run dev server type in

grunt serve

To run unit tests type in

grunt test

To build production ready version type in

grunt build

Dependencies

Usage

You can change default settings

$.fn.ccCarousel.defaults = {
    clickTimer: 500, //setTimeout for click
    hoverTimer: 6000, //setTimeout for hover
    imageWidth: 330
}

There are 3 public methods for jQuery Carousel plugin slider

  • moveToLeft: moves slider to left
  • moveToRight: moves slider to right
  • stop: stops the slider

License

This plugin is available under the MIT license.