Difference between revisions of "Team:Greece/Project"

Line 69: Line 69:
  
 
     $("body, html").animate({  
 
     $("body, html").animate({  
         scrollTop: $( $(this).attr('name') ).offset().top  
+
         scrollTop: $( $(this).attr('href') ).offset().top  
 
     }, 600);
 
     }, 600);
 
      
 
      
Line 135: Line 135:
 
                               <!--min-x, min-y, width, height-->
 
                               <!--min-x, min-y, width, height-->
  
<circle class='circlez' cx="-230" cy="365" r="135" stroke='#ffffff' stroke-width="0" fill="white" id='c_t1' name='c_t1' class='svgGraphic' onclick="displayMe(this.id)" onmouseover="onHoverChanges(this.id)" />
+
<a class='linka' href='ct1'><circle class='circlez' cx="-230" cy="365" r="135" stroke='#ffffff' stroke-width="0" fill="white" id='c_t1' name='c_t1' class='svgGraphic' onclick="displayMe(this.id)" onmouseover="onHoverChanges(this.id)" />
 
<text class='animate_text' id='t1' x='0' y='295' text-anchor='middle' fill='#000000' name='c_t1' >
 
<text class='animate_text' id='t1' x='0' y='295' text-anchor='middle' fill='#000000' name='c_t1' >
 
<tspan x="-230" dy="2.5em" onclick="displayMe('c_t1')">IN A NUTSHELL</tspan>
 
<tspan x="-230" dy="2.5em" onclick="displayMe('c_t1')">IN A NUTSHELL</tspan>
 
<tspan x="-230" dy="1.5em" onclick="displayMe('c_t1')">VIDEO</tspan>
 
<tspan x="-230" dy="1.5em" onclick="displayMe('c_t1')">VIDEO</tspan>
</text>
+
</text></a>
 
<circle class='circlez' cx="190" cy="365" r="135" stroke='#ffffff' stroke-width="0" fill="white" id='c_t2' name='c_t2' class='svgGraphic' onclick="displayMe(this.id)" onmouseover="onHoverChanges(this.id)" />
 
<circle class='circlez' cx="190" cy="365" r="135" stroke='#ffffff' stroke-width="0" fill="white" id='c_t2' name='c_t2' class='svgGraphic' onclick="displayMe(this.id)" onmouseover="onHoverChanges(this.id)" />
 
<text class='animate_text' id='t2' x='0' y='335' text-anchor='middle' fill='#000000' name='c_t2'>
 
<text class='animate_text' id='t2' x='0' y='335' text-anchor='middle' fill='#000000' name='c_t2'>

Revision as of 08:42, 1 September 2017

Loading...