Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/kenoir/simple_carousel
Simple iframe carousel for displaying a series of webpages for a given time, maybe on a big screen
https://github.com/kenoir/simple_carousel
Last synced: 9 days ago
JSON representation
Simple iframe carousel for displaying a series of webpages for a given time, maybe on a big screen
- Host: GitHub
- URL: https://github.com/kenoir/simple_carousel
- Owner: kenoir
- Created: 2013-04-29T12:15:19.000Z (over 11 years ago)
- Default Branch: master
- Last Pushed: 2013-04-29T12:29:31.000Z (over 11 years ago)
- Last Synced: 2024-11-08T21:59:29.858Z (2 months ago)
- Language: JavaScript
- Size: 457 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
#SimpleCarousel
---
Need a build monitor? Don't care about having a [swanky dashboard](http://shopify.github.io/dashing/)?
This is a simple iframe carousel for displaying a series of webpages each for a given time, maybe on a big screen.
##Dependencies
This application uses [Ender](https://github.com/ender-js/Ender) specifically the jeesh & reqwest modules. You don't need it to run the app, but if you want to develop for it you will.
Current build command is:
ender build jeesh reqwest
###Usage
Requires an iframe element with id "carousel_frame":
Instantiate SimpleCarousel and pass it the config location:
new SimpleCarousel("/js/config/urls.json");
The config should follow this format:
display([
{
href: 'http://www.boingboing.net',
display_for_seconds: 10
},
{
href: 'http://slashdot.org/',
display_for_seconds: 5
}
]);Just add your own URLs.