Line 333: | Line 333: | ||
home = document.getElementById("home"); | home = document.getElementById("home"); | ||
}catch(e){} | }catch(e){} | ||
− | if( | + | if(home){ |
+ | jQuery(".main-image").animate({ opacity: 0 },1,function(){ | ||
+ | jQuery(".main-image").animate({ opacity: 1 },300); | ||
+ | }); | ||
+ | }else{ | ||
jQuery(".main-image").animate({ opacity: 0 },1,function(){ | jQuery(".main-image").animate({ opacity: 0 },1,function(){ | ||
jQuery(".main-image").animate({ opacity: 1 },300,function(){ | jQuery(".main-image").animate({ opacity: 1 },300,function(){ |
Revision as of 12:58, 14 October 2016