Team:Imperial College London/Gallery
From 2009.igem.org
(Difference between revisions)
Line 28: | Line 28: | ||
</script> | </script> | ||
+ | |||
+ | |||
</head> | </head> | ||
<body> | <body> | ||
- | <div class="highslide-gallery | + | <!-- |
+ | 3) Put the thumbnails inside a div for styling | ||
+ | --> | ||
+ | <div class="highslide-gallery"> | ||
+ | <!-- | ||
+ | 4) This is how you mark up the thumbnail image with an anchor tag around it. | ||
+ | The anchor's href attribute defines the URL of the full-size image. | ||
+ | --> | ||
<a href="http://charlesfracchia.com/igemWiki/images/1.jpg" class="highslide" onclick="return hs.expand(this)"> | <a href="http://charlesfracchia.com/igemWiki/images/1.jpg" class="highslide" onclick="return hs.expand(this)"> | ||
- | <img src="http://charlesfracchia.com/igemWiki/images/1.jpg" alt="" title="Click to enlarge | + | <img src="http://charlesfracchia.com/igemWiki/images/1.jpg" alt="Highslide JS" |
+ | title="Click to enlarge" /> | ||
</a> | </a> | ||
+ | |||
+ | <!-- | ||
+ | 5 (optional). This is how you mark up the caption. The correct class name is important. | ||
+ | --> | ||
<div class="highslide-caption"> | <div class="highslide-caption"> | ||
Line 42: | Line 56: | ||
</div> | </div> | ||
- | <a href="http://charlesfracchia.com/igemWiki/images/ | + | |
- | <img src="http://charlesfracchia.com/igemWiki/images/ | + | <!-- Repetionion of the above --> |
- | </a> | + | <a href="http://charlesfracchia.com/igemWiki/images/gallery2.jpg" class="highslide" onclick="return hs.expand(this)"> |
+ | <img src="http://charlesfracchia.com/igemWiki/images/gallery2.thumb.jpg" alt="Highslide JS" | ||
+ | title="Click to enlarge" /></a> | ||
<div class="highslide-caption"> | <div class="highslide-caption"> | ||
Line 50: | Line 66: | ||
</div> | </div> | ||
- | <a href="http://charlesfracchia.com/igemWiki/images/ | + | <a href="http://charlesfracchia.com/igemWiki/images/gallery3.jpg" class="highslide" onclick="return hs.expand(this)"> |
- | <img src="http://charlesfracchia.com/igemWiki/images/ | + | <img src="http://charlesfracchia.com/igemWiki/images/gallery3.thumb.jpg" alt="Highslide JS" |
- | </a> | + | title="Click to enlarge" /></a> |
<div class="highslide-caption"> | <div class="highslide-caption"> | ||
Line 58: | Line 74: | ||
</div> | </div> | ||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
</div> | </div> | ||
</body> | </body> | ||
</html> | </html> | ||
{{Imperial/09/TemplateBottom}} | {{Imperial/09/TemplateBottom}} |
Revision as of 14:48, 12 October 2009