Template:Imperial/09/Gallery

From 2009.igem.org

(Difference between revisions)
Line 5: Line 5:
<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.outlineType = 'custom';
+
hs.align = 'center';
-
hs.dimmingOpacity = 0.5;
+
hs.transitions = ['expand', 'crossfade'];
-
hs.fadeInOut = true;
+
hs.outlineType = 'rounded-white';
-
hs.align = 'center';
+
hs.fadeInOut = true;
-
hs.captionEval = 'this.thumb.title';
+
hs.dimmingOpacity = 0.75;
 +
// Add the controlbar
 +
hs.addSlideshow({
 +
//slideshowGroup: 'group1',
 +
interval: 5000,
 +
repeat: false,
 +
useControls: true,
 +
fixedControls: 'fit',
 +
overlayOptions: {
 +
opacity: 1,
 +
position: 'bottom center',
 +
hideOnMouseOut: true
 +
}
 +
});
-
// Add the slideshow controller
 
-
hs.addSlideshow({
 
-
slideshowGroup: 'group1',
 
-
interval: 5000,
 
-
repeat: false,
 
-
useControls: true,
 
-
fixedControls: 'fit',
 
-
overlayOptions: {
 
-
className: 'large-dark',
 
-
opacity: '0.5',
 
-
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:29, 14 October 2009