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

Line 69: Line 69:
 
     <div class="slide" style="background-color: inherit; padding: 20px 30px">
 
     <div class="slide" style="background-color: inherit; padding: 20px 30px">
 
         <h2 style="color:#333">Images of OpenScope</h2>
 
         <h2 style="color:#333">Images of OpenScope</h2>
<div id="gall"></div>
+
<div id="gall2"></div>
 
     </div>
 
     </div>
 
</section>
 
</section>
Line 76: Line 76:
 
<link rel="stylesheet" href="//2015.igem.org/Team:Cambridge-JIC/Assets/Gallery_css?action=raw&ctype=text/css" type="text/css" media="screen" />
 
<link rel="stylesheet" href="//2015.igem.org/Team:Cambridge-JIC/Assets/Gallery_css?action=raw&ctype=text/css" type="text/css" media="screen" />
 
<style>
 
<style>
#gall {
+
#gall2 {
 
max-width: 1200px;
 
max-width: 1200px;
 
}
 
}
Line 84: Line 84:
 
//<![CDATA[
 
//<![CDATA[
  
function addGal(url, title) {
+
function addGal2(url, title) {
$("#gall").append($('<a class="fancybox" rel="gallery1" href="'+url+'" title="'+title+'"><img src="'+url+'" style="width: 200px" alt="" /></a>'));
+
$("#gall2").append($('<a class="fancybox" rel="gallery1" href="'+url+'" title="'+title+'"><img src="'+url+'" style="width: 200px" alt="" /></a>'));
 
}
 
}
  
Line 92: Line 92:
 
$(document).ready(function() {
 
$(document).ready(function() {
  
addGal("https://static.igem.org/mediawiki/2015/6/6a/CamJIC-microscope1.jpeg", "Early prototype of OpenScope.")
+
addGal2("https://static.igem.org/mediawiki/2015/6/6a/CamJIC-microscope1.jpeg", "Early prototype of OpenScope.")
  
  

Revision as of 22:34, 16 September 2015

Bright-field Images

Images of OpenScope