Difference between revisions of "Team:Cambridge-JIC/Gallery"

Line 5: Line 5:
 
     <div class="slide" style="background-color: inherit; padding: 20px 30px">
 
     <div class="slide" style="background-color: inherit; padding: 20px 30px">
 
         <h2 style="color:#333">Gallery</h2>
 
         <h2 style="color:#333">Gallery</h2>
<div id="gall"></div>
+
<div id="gall">
 +
<a href="https://static.igem.org/mediawiki/2015/e/eb/CamJIC-Superfocussed.png" data-lightbox="image-1" data-title="My caption">Image #1</a>
 +
 
 +
</div>
 
     </div>
 
     </div>
 
</section>
 
</section>
Line 11: Line 14:
 
<script src="//2015.igem.org/Team:Cambridge-JIC/Assets/Gallery.js?action=raw&ctype=text/javascript"></script>
 
<script src="//2015.igem.org/Team:Cambridge-JIC/Assets/Gallery.js?action=raw&ctype=text/javascript"></script>
 
<style src="//2015.igem.org/Team:Cambridge-JIC/Assets/Gallery.css?action=raw&ctype=text/css"></style>
 
<style src="//2015.igem.org/Team:Cambridge-JIC/Assets/Gallery.css?action=raw&ctype=text/css"></style>
<style>
+
 
.fancybox-overlay,
+
.fancybox-wrap {
+
z-index:90;
+
}
+
</style>
+
 
<script>
 
<script>
 
//<![CDATA[
 
//<![CDATA[
  
 
function addGal(url, title) {
 
function addGal(url, title) {
$("#gall").append($('<a class="fancybox" rel="gallery1" href="'+url+'" title="'+title+'"><img src="'+url+'" style="width: 200px" alt="" /></a>'));
+
//$("#gall").append($('<a class="fancybox" rel="gallery1" href="'+url+'" title="'+title+'"><img src="'+url+'" style="width: 200px" alt="" /></a>'));
 
}
 
}
  

Revision as of 13:51, 10 September 2015

Gallery