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

m
m
Line 256: Line 256:
 
     // and so that if they scroll while viewing the video, they go back to the same place
 
     // and so that if they scroll while viewing the video, they go back to the same place
 
     // the second line adjust the scrolling to accomadate for the wiki bar at the top
 
     // the second line adjust the scrolling to accomadate for the wiki bar at the top
     document.getElementsByClassName("home-video")[0].scrollIntoView();
+
     //document.getElementsByClassName("home-video")[0].scrollIntoView();
 +
    document.getElementById("home-intro-video").scrollIntoView();
 
     window.scrollBy(0,scrollValue2);
 
     window.scrollBy(0,scrollValue2);
 
    
 
    

Revision as of 21:02, 22 August 2020