Team:EPF-Lausanne/Photos
From 2012.igem.org
(Difference between revisions)
(14 intermediate revisions not shown) | |||
Line 5: | Line 5: | ||
#gallery{ | #gallery{ | ||
- | width: 570px; | + | width: 570px; margin: auto; |
} | } | ||
Line 15: | Line 15: | ||
#gallery-main-image img{ | #gallery-main-image img{ | ||
display: block; | display: block; | ||
- | border: 1px solid | + | border: 1px solid black; |
padding: 5px; | padding: 5px; | ||
margin: auto; | margin: auto; | ||
Line 45: | Line 45: | ||
.gallery-image-inner div{ | .gallery-image-inner div{ | ||
cursor: pointer; | cursor: pointer; | ||
- | border: 1px solid | + | border: 1px solid black; |
padding: 0px; | padding: 0px; | ||
} | } | ||
</style> | </style> | ||
<script type="text/javascript" src="/Team:EPF-Lausanne/Photos/gallery.js?action=raw&ctype=text/javascript"></script> | <script type="text/javascript" src="/Team:EPF-Lausanne/Photos/gallery.js?action=raw&ctype=text/javascript"></script> | ||
- | <noscript>This | + | <noscript>This page is heavily javascript dependent, please enable it to see something.</noscript> |
<div id="gallery"> | <div id="gallery"> | ||
<div id="gallery-main-image"> </div> | <div id="gallery-main-image"> </div> | ||
- | <div id="gallery-thumbnails"> </div> | + | <div id="gallery-thumbnails"> |
+ | <!-- If you wanted to add/change/remove pictures, you're not at the right place! Go to Team:EPF-Lausanne/Photos/gallery.js and edit the GalleryFiles array (don't forget to give it URLs that point directly to the image, not to the File:xyz page). If you just broke everything, check if you put quotes (") around the url, if you added the correct amount of commas (there should be a single comma between each entry). --> | ||
+ | </div> | ||
+ | |||
+ | <!-- | ||
+ | Put the photos you want to add here (and send me a mail when you've finished): | ||
+ | |||
+ | --> | ||
</div> | </div> | ||
</html> | </html> |
Latest revision as of 22:45, 26 September 2012