Difference between revisions of "Template:Team:Aachen/Protocol"

 
Line 8: Line 8:
 
</div></div>
 
</div></div>
  
<script>
+
 
$(".protocol").click(function(){
+
var display = $(this).find(".manual").css("display");
+
if (display == "block") {
+
  $(".manual").hide();
+
  $(".protocol").find('a > h4 > span').html("[+]");
+
}
+
else if (display == "none"){
+
      $(".manual").hide();
+
      $(".protocol").find('a > h4 > span').html("[+]");
+
      $(this).children().show(100);
+
      $(this).find('a > h4 > span').html("[-]");
+
}
+
});
+
</script>
+
 
</html>
 
</html>

Latest revision as of 12:05, 18 September 2015

{{{title}}}[+]