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. | + | hs.outlineType = 'custom'; |
- | + | hs.dimmingOpacity = 0.5; | |
- | hs. | + | hs.fadeInOut = true; |
- | + | hs.align = 'center'; | |
+ | hs.captionEval = 'this.thumb.title'; | ||
- | |||
- | |||
- | + | // 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:21, 14 October 2009