Ecosyste.ms: Awesome

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

Awesome Lists | Featured Topics | Projects

https://github.com/kickstarter/jQuery-SpriteShow

An awesome slideshow that uses a single sprite.
https://github.com/kickstarter/jQuery-SpriteShow

Last synced: 3 months ago
JSON representation

An awesome slideshow that uses a single sprite.

Awesome Lists containing this project

README

        

Author: Samuel Cole
Copyright: N/A. Public Domain. Whatevs.

An awesome slideshow that uses a single sprite.

Let's do some ASCII art!

+--------------------------+
| |
| |
| | <-


| |
| | CSS: background-image: url('sprite.jpg');
| | background-repeat: no-repeat;
| | height: 255px /*EXAMPLE*/
+--------------------------+ width: 340px /*EXAMPLE*/






^ CONTROLS YALL ^

+--------------------------+
| |
| |
| |
| |
| |
| |
| |
+--------------------------+
| |
| |
| |
| | <-
| |
| |
| |
+--------------------------+
| |
| |
| |
| |
| |
| |
| |
+--------------------------+

DO IT, TO IT:

$('div.yall').spriteshow({
controls: $('div.controls_yall'),
effect: 'fade', //fancy effect!
number: 3, //number of baller images
play_delay: 5000 //rotate every 5000 milliseconds
});