Option | Value | Default | Description |
---|---|---|---|
animation |
String | slide | The animation to use. (fade, slide, scale) |
toggle |
CSS selector | a | Toggle selector - triggers the lightbox. |
Option | Value | Default | Description |
---|---|---|---|
animation |
String | slide | The animation to use. (fade, slide, scale) |
duration |
Number | 400 | The animation duration. |
index |
Number | 0 | The initial item to show. (zero based) |
preload |
Number | 1 | The number of items to preload. (left and right of the currently active item) |
items |
Array | [] | An array of items to display. ([{source: 'images/size1.jpg', caption: '900x600'}]) |
template |
String | The template string. | |
delay-controls |
Number | 3000 | Delay time before controls fade out in ms. |