Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/apollopy/carousel


https://github.com/apollopy/carousel

Last synced: about 1 month ago
JSON representation

Awesome Lists containing this project

README

        

# Carousel

A carousel plugin for jQuery.

## Development

$ sudo npm install -g coffee-script
$ sudo npm install -g uglify-js

## Example

### add JavaScript

```html

```

### basic HTML

```html


```

### add CSS

```css
.js-carousel-box {
position: relative;
overflow: hidden;
/* adjust these to your needs */
width: 740px;
height: 260px;
}
.js-carousel-inner {
position: absolute;
}
.js-carousel-inner .item {
display: none;
position: absolute;
}
.js-carousel-inner .active {
display: block;
}
```

### setup Carousel

```html

$('.js-carousel-box').carousel(/*options*/);

```