]> mj.ucw.cz Git - gallery.git/blob - gal2/highslide/highslide.config.js
Gallery2: Further HighSlide hackery
[gallery.git] / gal2 / highslide / highslide.config.js
1 /*
2  *      Site-specific configuration settings for Highslide JS
3  */
4
5 hs.showCredits = false;
6 hs.outlineType = 'custom';
7 hs.fadeInOut = false;
8 hs.align = 'center';
9 hs.useBox = true;
10 hs.width = 1080;
11 hs.height = 840;
12 hs.allowMultipleInstances = false;
13 hs.captionEval = 'this.thumb.title';
14 hs.captionOverlay = { position: "top" };
15 hs.expandDuration = 100;
16 hs.restoreDuration = 100;
17 hs.dimmingDuration = 100;
18 hs.transitionDuration = 100;
19 hs.slideshowGroup = 'group1';
20 hs.thumbnailId = 'thumb1';
21 hs.numberPosition = 'caption';
22 hs.transitions = ['expand', 'crossfade'];
23
24 // Add the slideshow controller
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 });