Released under the BSD License.
The latest source can be found on GitHub.
Check out the Documentation or
Changelog for detailed information.
Use the GitHub issue tracker to submit bug fixes or feature proposals.
image
image group
image group
image group
youtube
vimeoh
flash
inline
Lorem ipsum dolor sit amet de shizzle the dizzle crocodizzle.
— Options can be set on initialisation
»
prefix: 'myLightbox'
»
group: false
»
cycle: false
»
modal: false
»
modalClickable: false
»
modalClosable: false
»
forceLoad: false
»
easing: 'swing'
»
duration: 1000
»
speed: 0
»
fixed: false
»
responsive: false
»
ajax: true
»
controls: false
»
cls: my-lightbox
»
opacity: 0.5
»
styles: { 'background': 'red' }
»
dimensions: {}
»
keys: false
»
keyCodes: {}
»
lang: {}
— Methods can be called on an instance
»
lightbox.open();
»
lightbox.close();
»
lightbox.resize();
»
lightbox.destroy();
»
lightbox.next();
»
lightbox.previous();
»
lightbox.getElement();
»
lightbox.getCollection();
— Callbacks can be called on an instance
» callbacks.open
» callbacks.close
» callbacks.resize
» callbacks.destroy
» callbacks.next
» callbacks.previous
» callbacks.load
» callbacks.complete
» callbacks.unload