]> mj.ucw.cz Git - gallery.git/blob - gal2/highslide/highslide.config.js
7e5bb31ada2d5ea5b5b14b3efabeef1fbaac7278
[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.transitionDuration = 100;
20 hs.slideshowGroup = 'group1';
21 hs.thumbnailId = 'thumb1';
22 hs.numberPosition = 'caption';
23 hs.transitions = ['expand', 'crossfade'];
24
25 hs.addSlideshow({
26         slideshowGroup: 'group1',
27         interval: 5000,
28         repeat: false,
29         useControls: true,
30         fixedControls: 'fit',
31         overlayOptions: {
32                 className: 'controls-in-heading',
33                 opacity: 0.6,
34                 position: 'top center',
35                 offsetX: 0,
36                 offsetY: 0,
37                 hideOnMouseOut: true
38         },
39         thumbstrip: {
40                 mode: 'horizontal',
41                 position: 'bottom center',
42                 relativeTo: 'image'
43         }
44
45 });