]> mj.ucw.cz Git - gallery.git/blobdiff - gal2/highslide/highslide.config.js
Gallery2: Further HighSlide hackery
[gallery.git] / gal2 / highslide / highslide.config.js
index 90fa9577be114ce75c1404280f2fbfff3c8fa15e..56fca57a52bcfb8122a5062e79cfa9037ad76df0 100644 (file)
@@ -2,7 +2,6 @@
  *     Site-specific configuration settings for Highslide JS
  */
 
-hs.graphicsDir = '/gal2/highslide/graphics/';
 hs.showCredits = false;
 hs.outlineType = 'custom';
 hs.fadeInOut = false;
@@ -13,14 +12,14 @@ hs.height = 840;
 hs.allowMultipleInstances = false;
 hs.captionEval = 'this.thumb.title';
 hs.captionOverlay = { position: "top" };
-hs.expandDuration = 0;
-hs.restoreDuration = 0;
-hs.dimmingDuration = 0;
-hs.transitionDuration = 0;
+hs.expandDuration = 100;
+hs.restoreDuration = 100;
+hs.dimmingDuration = 100;
+hs.transitionDuration = 100;
 hs.slideshowGroup = 'group1';
 hs.thumbnailId = 'thumb1';
 hs.numberPosition = 'caption';
-hs.transitions = ['expand', 'expand'];
+hs.transitions = ['expand', 'crossfade'];
 
 // Add the slideshow controller
 hs.addSlideshow({
@@ -39,7 +38,7 @@ hs.addSlideshow({
        },
        thumbstrip: {
                mode: 'horizontal',
-               position: 'bottom',
+               position: 'bottom center',
                relativeTo: 'image'
        }