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

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

Revision as of 22:45, 13 October 2016

Ingenuity Lab - dNANO