]> mj.ucw.cz Git - gallery.git/blob - gal2/highslide/highslide.config.js
Gallery2: HighSlide dimming enabled
[gallery.git] / gal2 / highslide / highslide.config.js
1 /*
2  *      Site-specific configuration settings for Highslide JS
3  */
4
5 hs.showCredits = true;
6 hs.creditsPosition = 'top right';
7 hs.outlineType = 'rounded-black';
8 hs.fadeInOut = false;
9 hs.align = 'center';
10 hs.useBox = true;
11 hs.width = 1080;
12 hs.height = 840;
13 // hs.allowMultipleInstances = false;
14 hs.captionEval = 'this.thumb.title';
15 hs.captionOverlay = { position: "top" };
16 hs.expandDuration = 100;
17 hs.restoreDuration = 100;
18 hs.dimmingDuration = 100;
19 hs.dimmingOpacity = 0.8;
20 hs.transitionDuration = 100;
21 hs.thumbnailId = 'thumb1';
22 hs.numberPosition = 'caption';
23 hs.transitions = ['expand', 'crossfade'];
24
25 hs.addSlideshow({
26         interval: 5000,
27         repeat: false,
28         useControls: true,
29         fixedControls: 'fit',
30         overlayOptions: {
31                 className: 'controls-in-heading',
32                 opacity: 0.6,
33                 position: 'top center',
34                 hideOnMouseOut: true
35         },
36         thumbstrip: {
37                 mode: 'horizontal',
38                 position: 'below',
39                 relativeTo: 'expander'
40         }
41
42 });