Created
February 28, 2011 17:08
-
-
Save jessegavin/847637 to your computer and use it in GitHub Desktop.
Spacecrafting slideshow usage
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
var ss = $("#slideshow-display").slideshow({ | |
urls: ['image.jpg', 'image2.jpg'], // This is the only required setting | |
photoBaseUrl: "http://photos.screenfeed.com/', | |
interval: 3000, // Number of milliseconds each photo should be shown | |
transitionDuration: 300, // Time it takes for fade animation to complete | |
preloadBuffer: 3, // Number of images to preload before slideshow starts | |
onImageChanging: null, // If specified, this is fired right before the image is swapped | |
onImageLoading: null, // If specified, this is fired when an image is requested. | |
onImageLoadComplete: null, // If specified, this is fired when an image has loaded | |
transition: "fade" | |
}); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment