id |
String |
'lightcase-case'
|
Identifier name for the outermost tag. |
tempIdPrefix |
String |
'lightcase-temp-'
|
Identifier prefix for the temporarily cloned content. (since v1.1.0) |
classPrefix |
String |
'lightcase-'
|
Class name prefix for the lightcase objects. (since v1.3.0) |
transition |
String |
'elastic'
|
Transition between the sequences for groups and slideshow.
Available values are 'none', 'fade', 'fadeInline', 'elastic', 'scrollTop', 'scrollRight', 'scrollBottom', 'scrollLeft', 'scrollHorizontal' and 'scrollVertical'. |
transitionIn |
String |
null
|
Extra definition for the 'in' transition. (since 1.4.0) |
transitionOut |
String |
null
|
Extra definition for the 'out' transition. (since 1.4.0) |
cssTransitions |
Boolean |
true
|
Enable transitions with css. (since 1.4.0) |
speedIn |
Integer |
350
|
Animation speed for the starting transition. |
speedOut |
Integer |
250
|
Animation speed for the ending transition. |
maxWidth |
Integer |
800
|
Maximum width for the media content. |
maxHeight |
Integer |
500
|
Minimum height for the media content. |
forceWidth |
Boolean |
false
|
Force width to prevent from shrinking. (since v1.1.0) |
forceHeight |
Boolean |
false
|
Force height to prevent from shrinking. (since v1.1.0) |
liveResize |
Boolean |
true
|
Enable live resize. (since v1.2.0) |
fullScreenModeForMobile |
Boolean |
true
|
Enable fullscreen mode for mobile devices. (since v1.3.0) |
mobileMatchExpression |
RegExp |
/(iphone|ipod|ipad...)/
|
Mobile devices which should make use of fullscreen mode. (since v1.3.2) |
disableShrink |
Boolean |
false
|
Disable the shrink completely. (since v1.1.0) |
shrinkFactor |
Integer |
.75
|
Factor (in percent) to shrink the media content to recalculate dimensions. |
overlayOpacity |
Integer |
.9
|
Factor (in percent) for the overlay opacity. |
slideshow |
Boolean |
false
|
Default slideshow initialization for groups. |
timeout |
Integer |
5000
|
Delayed time between the slideshow sequences. |
swipe |
Boolean |
true
|
Enable swipe event for mobile devices. (since v1.4.0) |
useKeys |
Boolean |
true
|
Activate keys to navigate. |
navigateEndless |
Boolean |
true
|
If enabled, the slideshow will be never ending. |
closeOnOverlayClick |
Boolean |
true
|
Close Lightcase on overlay click. |
showTitle |
Boolean |
true
|
Display title defined if the link attribute is set. |
showCaption |
Boolean |
true
|
Display caption from the attribute 'alt'. |
showSequenceInfo |
Boolean |
true
|
Display information about the current sequence in groups. |
inline |
Object |
width : 'auto'
,height : 'auto'
|
Options would be passed to the inline element. |
ajax |
Object |
width : 'auto'
,height : 'auto'
,type : 'get'
,dataType : 'html'
,data : {}
|
Option would be passed to the ajax element. (since v1.3.0)
Option would be passed to the ajax element. (since v1.3.0)
Type of request like 'get' or 'post' (since v1.5.0)
DataType of response like 'html', 'text', 'json', ... (since v1.5.0)
Data for request like a serialized array (since v1.5.0) |
iframe |
Object |
width : 'auto'
,height : 'auto'
,frameborder : 0
|
Options would be passed to the iframe element. |
flash |
Object |
width : 400
,height : 205
,wmode : 'transparent'
|
Options would be passed to the flash element. |
video |
Object |
width : 400
,height : 225
,poster : ''
,preload : 'auto'
,controls : true
,autobuffer : true
,autoplay : true
,loop : false
|
Options would be passed to the video element. |
type |
String |
null
|
Force data type definition like 'inline' or 'ajax'. (since v1.4.2) |
typeMapping |
Object |
'image' : 'jpg,...'
,'flash' : 'swf'
,'video' : 'mp4,...'
,'iframe' : 'html,...'
,'ajax' : 'txt'
,'inline' : '#'
|
Mapping for the media types. (since v1.4.0) |
errorMessage |
String |
'<p class="lightcase-error"...
|
Markup of the error message. |
markup |
Function |
function() {
$('body').append(...
}
|
Browse the whole the function in the source file 'lightcase.js'. |
onInit |
Function |
function() {}
|
Hook function which will be executed before process initialization. (since v1.5.0) |
onStart |
Function |
function() {}
|
Hook function which will be executed before generating content. |
onFinish |
Function |
function() {}
|
Hook function which will be executed after generating content. |