Lianaevans (Talk | contribs) m |
Lianaevans (Talk | contribs) m |
||
Line 171: | Line 171: | ||
var team = document.querySelectorAll('.overlay'); | var team = document.querySelectorAll('.overlay'); | ||
for (i = 0; i < team.length; i++){ | for (i = 0; i < team.length; i++){ | ||
− | team[i].style.display = "block" | + | team[i].style.display = "block"; |
} | } | ||
} | } | ||
function overlayOff() { | function overlayOff() { | ||
− | document. | + | var team = document.querySelectorAll('.overlay'); |
+ | for (i = 0; i < team.length; i++){ | ||
+ | team[i].style.display = "none"; | ||
+ | } | ||
} | } | ||
</script> | </script> |
Revision as of 19:42, 19 July 2020