m |
Lianaevans (Talk | contribs) m |
||
Line 238: | Line 238: | ||
function overlayOff(x) { | function overlayOff(x) { | ||
team[x-1].style.display = "none"; | team[x-1].style.display = "none"; | ||
+ | } | ||
+ | |||
+ | /*Script for opening video overlay*/ | ||
+ | function toggle(){ | ||
+ | var introVid = document.querySelector(".intro-video") | ||
+ | |||
+ | var video = document.querySelector("video") | ||
+ | introVid.classList.toggle("active"); | ||
+ | video.pause(); | ||
+ | video.currentTime = 0; | ||
} | } | ||
Revision as of 21:03, 27 July 2020