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

Line 299: Line 299:
 
try{ home = document.getElementById("home"); }catch(e){}
 
try{ home = document.getElementById("home"); }catch(e){}
 
if(!home){
 
if(!home){
jQuery("body").animate({ opacity: 0 },1,function(){ jQuery("body").animate({ opacity: 1 },300); });
+
jQuery("#content").css({'background-color': "rgba(255,255,255,1)"});
 +
jQuery("#content").animate({'background-color': "rgba(255,255,255,0)"},300);
 +
//jQuery("#content").animate({ opacity: 1 },1,function(){ jQuery("body").animate({ opacity: 0 },300); });
 
     setTimeout(function(){ jQuery("html, body").animate({ scrollTop: "710px" },1000); }, 1000);
 
     setTimeout(function(){ jQuery("html, body").animate({ scrollTop: "710px" },1000); }, 1000);
 
}  
 
}  

Revision as of 22:40, 13 October 2016

Ingenuity Lab - dNANO