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

Line 3: Line 3:
 
<style>
 
<style>
 
a.fancybox{
 
a.fancybox{
     min-width: 200px !important; max-height: 150px;
+
     width: 200px !important; max-height: 150px;
}
+
img {
+
display: block;
+
    min-width: 100%;
+
    min-height: 100%;
+
 
}
 
}
 
</style>
 
</style>
Line 142: Line 137:
  
 
function addGal2(url, title) {
 
function addGal2(url, title) {
$("#gall2").append($('<div style="width:200px; height:150px; overflow: hidden;"><a class="fancybox" rel="gallery1" href="'+url+'" title="'+title+'"><img src="'+url+'" style="width: 200px" alt="" /></a></div>'));
+
$("#gall2").append($('<a class="fancybox" rel="gallery1" href="'+url+'" title="'+title+'"><img src="'+url+'" style="width: 200px" alt="" /></a>'));
 
}
 
}
  

Revision as of 14:35, 18 September 2015

Brightfield Images

Fluorescence Images

Images of OpenScope