m |
m |
||
Line 257: | Line 257: | ||
// 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(); | |
if(window.innerWidth >= 992) | if(window.innerWidth >= 992) | ||
{ | { | ||
− | |||
window.scrollBy(0,scrollValue2); | window.scrollBy(0,scrollValue2); | ||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
} | } | ||
Revision as of 21:36, 22 August 2020