Difference between revisions of "Template:Team:IngenuityLab Canada"

Line 12: Line 12:
 
padding: 0;  
 
padding: 0;  
 
position: relative;
 
position: relative;
 +
        background-color: #ffffff;
 
/*background: url(https://static.igem.org/mediawiki/2016/4/4e/T--IngenuityLab_Canada--il_nano_bg.jpg) no-repeat fixed center;*/
 
/*background: url(https://static.igem.org/mediawiki/2016/4/4e/T--IngenuityLab_Canada--il_nano_bg.jpg) no-repeat fixed center;*/
 
background-size: cover;
 
background-size: cover;
Line 329: Line 330:
  
 
var home;
 
var home;
try{ home = document.getElementById("home"); }catch(e){}
+
try{  
 +
home = document.getElementById("home");  
 +
}catch(e){}
 
if(!home){
 
if(!home){
setTimeout(function(){ jQuery("html, body").animate({ scrollTop: "575px" },1000); }, 1000);
+
jQuery(".main-image").animate({ opacity: 0 },1,function(){
 +
jQuery(".main-image").animate({ opacity: 1 },300,function(){
 +
setTimeout(function(){ jQuery("html, body").animate({ scrollTop: "575px" },1000); }, 1000);
 +
});
 +
});
 
}  
 
}  
 
});
 
});

Revision as of 12:56, 14 October 2016

Ingenuity Lab - dNANO