Difference between revisions of "Team:Duesseldorf/Test2"

Line 10: Line 10:
 
}
 
}
 
</style>
 
</style>
 
<script>
 
function openrequirement(evt, requirementName) {
 
  var i, x, tablinks;
 
  x = document.getElementsByClassName("requirement");
 
  for (i = 0; i < x.length; i++) {
 
    x[i].style.display = "none";
 
  }
 
  tablinks = document.getElementsByClassName("tablink");
 
  for (i = 0; i < x.length; i++) {
 
    tablinks[i].className = tablinks[i].className.replace(" w3-border-red", "");
 
  }
 
  document.getElementById(requirementName).style.display = "block";
 
  evt.currentTarget.firstElementChild.className += " w3-border-red";
 
}
 
</script>
 
  
 
</head>
 
</head>

Revision as of 13:12, 18 October 2016