Update lightbox & set options
This commit is contained in:
@@ -79,6 +79,15 @@ function initPage(asHash) {
|
|||||||
self.tmp('markers', 'object');
|
self.tmp('markers', 'object');
|
||||||
self.tmp('marker_size', {width: 32, height: 32});
|
self.tmp('marker_size', {width: 32, height: 32});
|
||||||
|
|
||||||
|
//Lightbox options
|
||||||
|
lightbox.option({
|
||||||
|
alwaysShowNavOnTouchDevices: true,
|
||||||
|
albumLabel: "Photo %1 sur %2",
|
||||||
|
fadeDuration: 300,
|
||||||
|
imageFadeDuration: 400,
|
||||||
|
resizeDuration: 600
|
||||||
|
});
|
||||||
|
|
||||||
//Assign Track Type Colors
|
//Assign Track Type Colors
|
||||||
self.tmp('track-type-styles', 'object');
|
self.tmp('track-type-styles', 'object');
|
||||||
$('#legend').find('.line').each(function(iKey, oLegend){
|
$('#legend').find('.line').each(function(iKey, oLegend){
|
||||||
|
|||||||
6
script/lightbox.min.js
vendored
6
script/lightbox.min.js
vendored
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
Reference in New Issue
Block a user