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

m
m
Line 164: Line 164:
 
function updateWord(){
 
function updateWord(){
 
     document.getElementById("Changing-Text").innerHTML = displayWord;
 
     document.getElementById("Changing-Text").innerHTML = displayWord;
 +
}
 +
 +
//This function controls the popups on click for the team page
 +
function popup() {
 +
  var popup = document.getElementById("myPopup");
 +
  popup.classList.toggle("show");
 
}
 
}
  
 
</script>
 
</script>
 
</html>
 
</html>

Revision as of 17:09, 19 July 2020