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

Line 7: Line 7:
 
function flowtext(){
 
function flowtext(){
 
   var text = document.getElementsById('text');
 
   var text = document.getElementsById('text');
   /*$('text').toggleClass('visible');
+
   $('text').toggleClass('visible');
   $('#text').toggleClass('visible');*/
+
   $('#text').toggleClass('visible');
   if (text.style.opacity == "0" ) {
+
   /*if (text.style.opacity == "0" ) {
 
         text.style.opacity = "1";
 
         text.style.opacity = "1";
 
     } else {
 
     } else {
 
         text.style.opacity = "0";
 
         text.style.opacity = "0";
     }
+
     }*/
 
   /*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';*/
Line 53: Line 53:
 
opacity:0;
 
opacity:0;
 
}
 
}
#text.visible{
+
#text .visible{
fill-opacity:1;
+
 
opacity:1;
 
opacity:1;
 
}
 
}
Line 129: Line 128:
 
       id="a289">-->
 
       id="a289">-->
 
       <g
 
       <g
         id="FlowC1" class="flowtext" onclick="flowtext()">
+
         id="FlowC1"  
 +
        onclick="flowtext()">
 
         <g
 
         <g
 
           id="g1380"
 
           id="g1380"
           inkscape:label="#FlowC1">
+
           inkscape:label="#FlowC1"
 +
          onclick="flowtext()">
 
           <g
 
           <g
 
             transform="matrix(0.20710395,-0.01994431,0.01871673,0.22068741,34.845017,95.567379)"
 
             transform="matrix(0.20710395,-0.01994431,0.01871673,0.22068741,34.845017,95.567379)"

Revision as of 20:52, 28 October 2017

image/svg+xml Lorem ipsum