Difference between revisions of "Team:Czech Republic/Template:Scripts"

Line 21: Line 21:
 
     document.getElementsByTagName('head')[0].appendChild(link);
 
     document.getElementsByTagName('head')[0].appendChild(link);
 
}
 
}
 +
</script>
 +
 +
<script>
 +
function toggle_visibility(id) {
 +
      var e = document.getElementById(id);
 +
      if(e.style.display == 'block')
 +
          e.style.display = 'none';
 +
      else
 +
          e.style.display = 'block';
 +
    }
 
</script>
 
</script>
  

Revision as of 15:25, 9 September 2015