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

m
m
Line 106: Line 106:
  
 
/* when i click on the x, that is technically also clicking on the li */
 
/* when i click on the x, that is technically also clicking on the li */
function closeSubmenus(event, arg) {
+
function closeSubmenus() {
 
     for(i = 0; i < dropdownContent.length; i++) {
 
     for(i = 0; i < dropdownContent.length; i++) {
 
         dropdownContent[i].style.visibility = "hidden";
 
         dropdownContent[i].style.visibility = "hidden";
 
     }
 
     }
 +
}
 +
 +
function closeSubTest() {
 +
  this.stlye.display = "none";
 
}
 
}
  

Revision as of 00:42, 22 July 2020