Difference between revisions of "Template:TU Darmstadt/Flowchart"

Line 8: Line 8:
 
   var text = document.getElementsById('text')[0];
 
   var text = document.getElementsById('text')[0];
 
   $('#text').toggleClass('visible');
 
   $('#text').toggleClass('visible');
   if (!text.style.display || text.style.display === 'none') text.style.display = 'block';
+
   /*if (!text.style.display || text.style.display === 'none') text.style.display = 'block';
   else text.style.display = 'none';
+
   else text.style.display = 'none';*/
 +
  if (!text.style.opacity === '0') text.style.opacity = '1';
 +
  else text.style.opacity = '0';
 
}
 
}
 
</script>
 
</script>

Revision as of 20:29, 28 October 2017

image/svg+xml Lorem ipsum