-
-
Save znsstudio/0993b26e203789bfa57a02219fa30eca to your computer and use it in GitHub Desktop.
Backstretch Demo: Slideshow
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* | |
* Here is an example of how to use Backstretch as a slideshow. | |
* Just pass in an array of images, and optionally a duration and fade value. | |
*/ | |
// Duration is the amount of time in between slides, | |
// and fade is value that determines how quickly the next image will fade in | |
$.backstretch([ | |
"http://dl.dropbox.com/u/515046/www/outside.jpg" | |
, "http://dl.dropbox.com/u/515046/www/garfield-interior.jpg" | |
, "http://dl.dropbox.com/u/515046/www/cheers.jpg" | |
], {duration: 3000, fade: 750}); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
http://srobbin.com/jquery-plugins/backstretch/