Line 13: | Line 13: | ||
for (var i = 0; i < images.length; i++) { var image = images[i], width = String(image.currentStyle.width); if (width.indexOf('%') == -1) { continue; } image.origWidth = image.offsetWidth; image.origHeight = image.offsetHeight; imgCache.push(image); c.ieAlpha(image); image.style.width = width; } | for (var i = 0; i < images.length; i++) { var image = images[i], width = String(image.currentStyle.width); if (width.indexOf('%') == -1) { continue; } image.origWidth = image.offsetWidth; image.origHeight = image.offsetHeight; imgCache.push(image); c.ieAlpha(image); image.style.width = width; } | ||
</script> | </script> | ||
+ | |||
+ | <style> | ||
+ | |||
+ | .photo a{ box-shadow:0 0 5px #999; position:relative; margin:auto; bottom:0px; text-decoration:none; color:#FFF; display:block; border: solid 1px #69F; background-color:#6CF; border-radius:3px; width:100px; text-align:center;} | ||
+ | .photo a:hover{ box-shadow:0 0 5px #666; background-color:#6BF;} | ||
+ | |||
+ | </style> | ||
</head> | </head> | ||
Line 34: | Line 41: | ||
<div class="imageimage"> | <div class="imageimage"> | ||
− | <div align="center" width="30%" style=" margin-right:5%; height:200px; background-color:#FFFFFF;"> | + | <div class="photo" align="center" width="30%" style=" margin-right:5%; height:200px; background-color:#FFFFFF;"> |
<img src="https://static.igem.org/mediawiki/2016/c/c1/T--NYMU-Taipei--photo-main-page-transfer1.png" width="100%" /> | <img src="https://static.igem.org/mediawiki/2016/c/c1/T--NYMU-Taipei--photo-main-page-transfer1.png" width="100%" /> | ||
<a href="https://2016.igem.org/Team:NYMU-Taipei/Notebook-Lab_Book-fruit_flies_hemolymph">Forecasting Website</a> | <a href="https://2016.igem.org/Team:NYMU-Taipei/Notebook-Lab_Book-fruit_flies_hemolymph">Forecasting Website</a> | ||
</div> | </div> | ||
− | <div align="center" width="30%" style="height:200px; background-color:#FFFFFF;"> | + | <div class="photo" align="center" width="30%" style="height:200px; background-color:#FFFFFF;"> |
<img src="https://static.igem.org/mediawiki/2016/c/c1/T--NYMU-Taipei--photo-main-page-transfer1.png" width="100%" /> | <img src="https://static.igem.org/mediawiki/2016/c/c1/T--NYMU-Taipei--photo-main-page-transfer1.png" width="100%" /> | ||
<a href="https://2016.igem.org/Team:NYMU-Taipei/Notebook-Lab_Book-fruit_flies_hemolymph">Media Analysis</a> | <a href="https://2016.igem.org/Team:NYMU-Taipei/Notebook-Lab_Book-fruit_flies_hemolymph">Media Analysis</a> | ||
</div> | </div> | ||
− | <div align="center" width="30%" style=" margin-left:5%; height:200px; background-color:#FFFFFF;"> | + | <div class="photo" align="center" width="30%" style=" margin-left:5%; height:200px; background-color:#FFFFFF;"> |
<img src="https://static.igem.org/mediawiki/2016/c/c1/T--NYMU-Taipei--photo-main-page-transfer1.png" width="100%" /> | <img src="https://static.igem.org/mediawiki/2016/c/c1/T--NYMU-Taipei--photo-main-page-transfer1.png" width="100%" /> | ||
<a href="https://2016.igem.org/Team:NYMU-Taipei/Notebook-Lab_Book-fruit_flies_hemolymph">Law and Policy</a> | <a href="https://2016.igem.org/Team:NYMU-Taipei/Notebook-Lab_Book-fruit_flies_hemolymph">Law and Policy</a> |
Revision as of 20:33, 18 October 2016