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

m
m
Line 129: Line 129:
  
 
function wordChangeWrapperFunc() {
 
function wordChangeWrapperFunc() {
 
+
  //Call word generator functions
//Call word generator functions
+
  setTimeout(alterDisplayWord,wordTime); //Set the first time delay
setTimeout(alterDisplayWord,wordTime); //Set the first time delay
+
  updateWord();
updateWord();
+
}
  
 
function alterDisplayWord(){
 
function alterDisplayWord(){
Line 163: Line 163:
 
     document.getElementById("Changing-Text").innerHTML = displayWord;
 
     document.getElementById("Changing-Text").innerHTML = displayWord;
 
}
 
}
}
+
 
 
</script>
 
</script>
 
</html>
 
</html>

Revision as of 22:54, 11 July 2020