Template:Imperial/09/Gallery

From 2009.igem.org

(Difference between revisions)
Line 6: Line 6:
<script type="text/javascript">
<script type="text/javascript">
hs.graphicsDir = 'http://charlesfracchia.com/igemWiki/highslide/graphics/';
hs.graphicsDir = 'http://charlesfracchia.com/igemWiki/highslide/graphics/';
-
hs.align = 'center';
+
hs.outlineType = 'custom';
-
hs.transitions = ['expand', 'crossfade'];
+
hs.dimmingOpacity = 0.5;
-
hs.outlineType = 'rounded-white';
+
hs.fadeInOut = true;
-
hs.wrapperClassName = 'controls-in-heading';
+
hs.align = 'center';
 +
hs.captionEval = 'this.thumb.title';
-
hs.fadeInOut = true;
 
-
hs.dimmingOpacity = 0.75;
 
-
// Add the controlbar
+
// Add the slideshow controller
-
hs.addSlideshow({
+
hs.addSlideshow({
-
//slideshowGroup: 'group1',
+
slideshowGroup: 'group1',
-
interval: 5000,
+
interval: 5000,
-
repeat: false,
+
repeat: false,
-
useControls: true,
+
useControls: true,
-
fixedControls: 'fit',
+
fixedControls: 'fit',
-
overlayOptions: {
+
overlayOptions: {
-
opacity: 1,
+
className: 'large-dark',
-
position: 'bottom center',
+
opacity: '0.5',
-
hideOnMouseOut: true
+
position: 'bottom center',
-
}
+
offsetX: '0',
-
});
+
offsetY: '-15',
 +
hideOnMouseOut: true
 +
}
 +
});
 +
// gallery config object
 +
var config1 = {
 +
slideshowGroup: 'group1',
 +
numberPosition: 'caption',
 +
transitions: ['expand', 'crossfade']
 +
};
</script>
</script>
</head>
</head>
</html>
</html>

Revision as of 14:21, 14 October 2009