]> mj.ucw.cz Git - gallery.git/blob - gal2/highslide/highslide.config.js
90fa9577be114ce75c1404280f2fbfff3c8fa15e
[gallery.git] / gal2 / highslide / highslide.config.js
1 /*
2  *      Site-specific configuration settings for Highslide JS
3  */
4
5 hs.graphicsDir = '/gal2/highslide/graphics/';
6 hs.showCredits = false;
7 hs.outlineType = 'custom';
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 = 0;
17 hs.restoreDuration = 0;
18 hs.dimmingDuration = 0;
19 hs.transitionDuration = 0;
20 hs.slideshowGroup = 'group1';
21 hs.thumbnailId = 'thumb1';
22 hs.numberPosition = 'caption';
23 hs.transitions = ['expand', 'expand'];
24
25 // Add the slideshow controller
26 hs.addSlideshow({
27         slideshowGroup: 'group1',
28         interval: 5000,
29         repeat: false,
30         useControls: true,
31         fixedControls: 'fit',
32         overlayOptions: {
33                 className: 'controls-in-heading',
34                 opacity: 0.6,
35                 position: 'top center',
36                 offsetX: 0,
37                 offsetY: 0,
38                 hideOnMouseOut: true
39         },
40         thumbstrip: {
41                 mode: 'horizontal',
42                 position: 'bottom',
43                 relativeTo: 'image'
44         }
45
46 });