Skip to content

Instantly share code, notes, and snippets.

@stim371
Created September 6, 2011 00:08
Show Gist options
  • Save stim371/1196220 to your computer and use it in GitHub Desktop.
Save stim371/1196220 to your computer and use it in GitHub Desktop.
My setup for lightbox, changed the transition speed
//
// Configurationl
//
LightboxOptions = Object.extend({
fileLoadingImage: 'images/loading.gif',
fileBottomNavCloseImage: 'images/closelabel.gif',
overlayOpacity: 0.8, // controls transparency of shadow overlay
animate: true, // toggles resizing animations
resizeSpeed: 7, // controls the speed of the image resizing animations (1=slowest and 10=fastest)
borderSize: 10, //if you adjust the padding in the CSS, you will need to update this variable
// When grouping images this is used to write: Image # of #.
// Change it for non-english localization
labelImage: "Image",
labelOf: "of"
}, window.LightboxOptions || {});
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment