Template:Imperial/09/Gallery

From 2009.igem.org

(Difference between revisions)
Line 12: Line 12:
hs.dimmingOpacity = 0.75;
hs.dimmingOpacity = 0.75;
         hs.captionEval = 'this.thumb.title';
         hs.captionEval = 'this.thumb.title';
-
+
hs.registerOverlay({
 +
html: '<div class="closebutton" onclick="return hs.close(this)" title="Close"></div>',
 +
position: 'top right',
 +
useOnHtml: true,
 +
fade: 2 // fading the semi-transparent overlay looks bad in IE
 +
});
         // Add the controlbar
         // Add the controlbar
hs.addSlideshow({
hs.addSlideshow({

Revision as of 15:19, 14 October 2009