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

Line 17: Line 17:
 
   $('#texti').toggleClass('visible');
 
   $('#texti').toggleClass('visible');
 
});*/
 
});*/
function flowtext(){
+
$(document).ready(function () {
 +
    $("#imFlowC1").click(function () {
 +
        $("#texti").toggleClass('visible');
 +
    });
 +
});
 +
/*function flowtext(){
 
   var texti = document.getElementsById('texti');
 
   var texti = document.getElementsById('texti');
 
   var tspanC1 = document.getElementsById("tspanC1");
 
   var tspanC1 = document.getElementsById("tspanC1");
Line 30: Line 35:
 
   /*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';*/
}
+
}*/
 
]]></script>
 
]]></script>
 
<style type="text/css"><![CDATA[
 
<style type="text/css"><![CDATA[
Line 40: Line 45:
 
fill-opacity:0;
 
fill-opacity:0;
 
}
 
}
#tspanC1{
+
/*#tspanC1{
 
opacity:0;
 
opacity:0;
}
+
}*/
 
/*text > #texti > tspan.visible{
 
/*text > #texti > tspan.visible{
 
opacity:1;
 
opacity:1;

Revision as of 09:18, 30 October 2017

image/svg+xml Lorem ipsum