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

Line 19: Line 19:
 
function flowtext(){
 
function flowtext(){
 
   var texti = document.getElementsById('texti');
 
   var texti = document.getElementsById('texti');
   $('texti').toggleClass('visible');
+
   /*$('texti').toggleClass('visible');
   $('#texti').toggleClass('visible');
+
   $('#texti').toggleClass('visible');*/
   $('tspan').toggleClass('visible');
+
   $('tspanC1').toggleClass('visible');
   $('text').toggleClass('visible');
+
   /*$('text').toggleClass('visible');*/
 
   /*if (texti.style.opacity == "0" ) {
 
   /*if (texti.style.opacity == "0" ) {
 
         texti.style.opacity = "1";
 
         texti.style.opacity = "1";
Line 42: Line 42:
 
pointer-events:all;
 
pointer-events:all;
 
}
 
}
#texti{
+
/*#texti{
 +
opacity:0;
 +
}*/
 +
#tspanC1{
 
opacity:0;
 
opacity:0;
 
}
 
}
text > #texti > tspan.visible{
+
/*text > #texti > tspan.visible{
 
opacity:1;
 
opacity:1;
 
}
 
}
Line 55: Line 58:
 
}
 
}
 
#texti .visible{
 
#texti .visible{
 +
opacity:1;
 +
}*/
 +
#tspanC1.visible{
 
opacity:1;
 
opacity:1;
 
}
 
}
#texti:hover{
+
#tspanC1:hover{
 
opacity:1;
 
opacity:1;
 
}
 
}
 +
/*#texti:hover{
 +
opacity:1;
 +
}*/
 
]]></style>
 
]]></style>
  
Line 139: Line 148:
 
           id="texti"><tspan
 
           id="texti"><tspan
 
             sodipodi:role="line"
 
             sodipodi:role="line"
             id="tspan1099"
+
             id="tspanC1"
 
             x="131.49792"
 
             x="131.49792"
 
             y="106.23541"
 
             y="106.23541"

Revision as of 08:36, 30 October 2017

image/svg+xml Lorem ipsum