Team:Goettingen/Team/Gallery

From 2013.igem.org

(Difference between revisions)
m
Line 326: Line 326:
   else{
   else{
$('#showbox').fadeOut(300,function(){
$('#showbox').fadeOut(300,function(){
 +
                loading();
garPic.src = alb[f][j-1].src;
garPic.src = alb[f][j-1].src;
description.innerHTML = alb[f][j-1].txt;
description.innerHTML = alb[f][j-1].txt;
Line 339: Line 340:
function loading(){
function loading(){
-
     ohteralb.innerHTML = 'Loading';
+
     otheralb.innerHTML = 'Loading';
     lightframe.insertBefore(otheralb,showbox);
     lightframe.insertBefore(otheralb,showbox);
-
}  
+
}
 +
   
function go2right(){
function go2right(){
   var f = currentAlb;
   var f = currentAlb;
Line 361: Line 363:
   else{
   else{
$('#showbox').fadeOut(300,function(){
$('#showbox').fadeOut(300,function(){
 +
                loading();
garPic.src = alb[f][j+1].src;
garPic.src = alb[f][j+1].src;
description.innerHTML = alb[f][j+1].txt;
description.innerHTML = alb[f][j+1].txt;
Line 374: Line 377:
       }
       }
-
garPic.onload = function(){$('#showbox').fadeIn(300);adjustSize();};
+
garPic.onload = function(){$('#showbox').fadeIn(300);adjustSize();lightframe.removeChild(otheralb);};
</script>
</script>
</html>
</html>

Revision as of 16:56, 15 September 2013

The beast and its Achilles heel:

 A novel target to fight multi-resistant pathogenic bacteria



In the Lab

 

Previous Next