Difference between revisions of "Template:Queens Canada/Scripts"

m
m
Line 246: Line 246:
  
 
     document.getElementsByClassName("home-video")[0].scrollIntoView();
 
     document.getElementsByClassName("home-video")[0].scrollIntoView();
 +
    window.scrollBy(0,-18);
 
    
 
    
 
     if(circle.classList.contains("full-circle"))  
 
     if(circle.classList.contains("full-circle"))  
Line 251: Line 252:
 
         introVid.classList.toggle("active");
 
         introVid.classList.toggle("active");
 
         setTimeout(function(){ circle.classList.toggle("full-circle"); }, 800);
 
         setTimeout(function(){ circle.classList.toggle("full-circle"); }, 800);
        window.scrollBy(0,18);
 
 
     }
 
     }
 
     else
 
     else

Revision as of 22:34, 15 August 2020