Difference between revisions of "Template:Virginia"

Line 211: Line 211:
 
*/
 
*/
  
 +
 +
function toggleDiv(strArg) {
 +
    var x = document.getElementsByClassName(strArg);
 +
var i;
 +
for (i = 0; i < x.length; i++) {
 +
      if (x[i].style.display === 'none') {
 +
          x[i].style.display = 'block';
 +
      } else {
 +
          x[i].style.display = 'none';
 +
      }
 +
}
 +
}
  
 
</script>
 
</script>

Revision as of 16:13, 2 August 2017