New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

carousel

Package Overview
Dependencies
Maintainers
1
Versions
4
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

carousel

Turn HTML pages into keyboard-navigable slideshows.

  • 0.0.3
  • latest
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
628
decreased by-39.32%
Maintainers
1
Weekly downloads
 
Created
Source

Turn HTML pages into keyboard-navigable slideshows. Designed to be used with browserify.

If jQuery is available, scroll transitions will be animated.

Installation

npm install carousel --save

Usage

First, check out the demo directory.

Create a simple script to use Carousel:

// pre-browserify.js
var Carousel = require('carousel');
new Carousel('#slides');

Use browserify to bundle it up for the browser:

npm install browserify -g
browserify pre-browserify.js -o post-browserify.js

Then drop the browserified script into your HTML page and you're good to go.

<script src="post-browserify.js"></script>

<ol id="slides">
  <li>a slide</li>
  <li>another slide</li>
  <li>keep on slidin'</li>
<ol>

Demo

Visit ba2.herokuapp.com for a working example of Carousel in action, then check out its source on github.

Hacking

npm install grunt-cli -g
npm install
grunt

Keywords

FAQs

Package last updated on 11 Jan 2014

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc