Team:Goettingen/Team/Gallery

From 2013.igem.org

(Difference between revisions)
Line 60: Line 60:
for(j=0;j<=2;j++){
for(j=0;j<=2;j++){
-
   document.write('<img src=" '+ alb[0][j].thum + '" onclick="showGarPic(alb[0]['+ j + '].src,alb[0]['+j+'].txt)" style="margin-right:15px;cursor:pointer" />');
+
   document.write('<img src=" '+ alb[0][j].thum + '" onclick="showGarPic(alb[0]['+ j + '].src,alb[0]['+j+'].txt,0)" style="margin-right:15px;cursor:pointer" />');
}
}
Line 204: Line 204:
prefoto.src = 'https://static.igem.org/mediawiki/2013/b/b0/Direction.png';
prefoto.src = 'https://static.igem.org/mediawiki/2013/b/b0/Direction.png';
with(prefoto.style){
with(prefoto.style){
 +
  cursor = 'pointer';
   position = 'absolute';
   position = 'absolute';
   left = '-40px';
   left = '-40px';
Line 216: Line 217:
nextfoto.src = 'https://static.igem.org/mediawiki/2013/b/b0/Direction.png';
nextfoto.src = 'https://static.igem.org/mediawiki/2013/b/b0/Direction.png';
with(nextfoto.style){
with(nextfoto.style){
 +
  cursor = 'pointer';
   position = 'absolute';
   position = 'absolute';
   right = '-77px';
   right = '-77px';
Line 225: Line 227:
    
    
-
function showGarPic(from,illustration){
+
function showGarPic(from,illustration,alb){
   garPic.src = from;
   garPic.src = from;
   adHeight = $(window).height()*0.8;
   adHeight = $(window).height()*0.8;
Line 249: Line 251:
-
go2left = function(f){
+
function go2left(f){
   for(j=0;j<alb[f].length;j++){ if (garPic.src == alb[f][j].src) break;}
   for(j=0;j<alb[f].length;j++){ if (garPic.src == alb[f][j].src) break;}
   if(j == 0) {   
   if(j == 0) {   
Line 266: Line 268:
}
}
-
go2right = function(f){
+
function go2right(f){
   for(j=0;j<alb[f].length;j++){ if (garPic.src == alb[f][j].src) break;}
   for(j=0;j<alb[f].length;j++){ if (garPic.src == alb[f][j].src) break;}
   if(j == alb[f].length - 1) {   
   if(j == alb[f].length - 1) {   

Revision as of 15:29, 22 July 2013

The beast and its Achilles heel:

 A novel target to fight multi-resistant pathogenic bacteria



In the Lab

 

Previous Next