]> mj.ucw.cz Git - gallery.git/commitdiff
Gallery2: More HighSlide hacking
authorMartin Mares <mj@ucw.cz>
Thu, 27 Dec 2012 22:59:48 +0000 (23:59 +0100)
committerMartin Mares <mj@ucw.cz>
Sun, 8 Feb 2015 20:14:15 +0000 (21:14 +0100)
gal2/highslide/highslide.config.js

index 7e5bb31ada2d5ea5b5b14b3efabeef1fbaac7278..8e82c947bf13e3b5023f1f0755aee4256ec7a449 100644 (file)
@@ -10,20 +10,18 @@ hs.align = 'center';
 hs.useBox = true;
 hs.width = 1080;
 hs.height = 840;
-hs.allowMultipleInstances = false;
+// hs.allowMultipleInstances = false;
 hs.captionEval = 'this.thumb.title';
 hs.captionOverlay = { position: "top" };
 hs.expandDuration = 100;
 hs.restoreDuration = 100;
 hs.dimmingDuration = 100;
 hs.transitionDuration = 100;
-hs.slideshowGroup = 'group1';
 hs.thumbnailId = 'thumb1';
 hs.numberPosition = 'caption';
 hs.transitions = ['expand', 'crossfade'];
 
 hs.addSlideshow({
-       slideshowGroup: 'group1',
        interval: 5000,
        repeat: false,
        useControls: true,
@@ -32,14 +30,12 @@ hs.addSlideshow({
                className: 'controls-in-heading',
                opacity: 0.6,
                position: 'top center',
-               offsetX: 0,
-               offsetY: 0,
                hideOnMouseOut: true
        },
        thumbstrip: {
                mode: 'horizontal',
-               position: 'bottom center',
-               relativeTo: 'image'
+               position: 'below',
+               relativeTo: 'expander'
        }
 
 });