Line 299: | Line 299: | ||
try{ home = document.getElementById("home"); }catch(e){} | try{ home = document.getElementById("home"); }catch(e){} | ||
if(!home){ | if(!home){ | ||
− | jQuery(" | + | 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
![](https://static.igem.org/mediawiki/2016/2/25/T--IngenuityLab_Canada--il_icons_img.jpg)