CharisKomos (Talk | contribs) |
CharisKomos (Talk | contribs) |
||
Line 1: | Line 1: | ||
<html> | <html> | ||
<head> | <head> | ||
− | + | <!-- >>>>> Meta <<<<< --> | |
− | + | ||
− | + | ||
− | |||
<meta name="viewport" content="width=device-width, initial-scale=1.0"> | <meta name="viewport" content="width=device-width, initial-scale=1.0"> | ||
− | < | + | <!-- >>>>> Link References <<<<< --> |
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | <link rel="stylesheet" type="text/css" href="https://2017.igem.org/Template:Greece/CSS?action=raw&ctype=text/css" /> | |
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | <!-- >>>>> Scripts <<<<< --> | |
− | </script> | + | |
− | <script> | + | <!-- Call Jquery --> |
+ | <script src='https://ajax.googleapis.com/ajax/libs/jquery/3.2.1/jquery.min.js'></script> | ||
+ | |||
+ | <!-- Call Template Scrips --> | ||
+ | <script type="text/javascript" src="https://2017.igem.org/Template:Greece/Javascript? | ||
+ | action=raw&ctype=text/javascript"></script> | ||
+ | |||
+ | <!-- Change document title --> | ||
+ | <script>$( document ).ready(function(){void(window.document.title = 'HUMAN PRACTICES');});</script> | ||
+ | |||
+ | <!-- Subsection onHover Functionality --> | ||
+ | <script> | ||
function onHoverChanges(idz){ | function onHoverChanges(idz){ | ||
$('.circlez').removeClass('opace'); | $('.circlez').removeClass('opace'); | ||
Line 41: | Line 40: | ||
window.history.replaceState(null, null, stateMsg); | window.history.replaceState(null, null, stateMsg); | ||
} | } | ||
+ | </script> | ||
− | + | <!-- Display Subsection Functionality --> | |
+ | <script> | ||
+ | /* Display Subsection */ | ||
function displayMe(idz){ | function displayMe(idz){ | ||
Line 48: | Line 50: | ||
scrollTillBottom(); | scrollTillBottom(); | ||
} | } | ||
− | </script> | + | </script> |
− | <script> | + | |
+ | <!-- Smooth Scrolling (Top to Bottom and vice versa) --> | ||
+ | <script> | ||
var myVar; | var myVar; | ||
Line 105: | Line 109: | ||
<circle class='circlez' cx="-230" cy="365" r="135" stroke='#ffffff' stroke-width="0" fill="white" id='c_t1' class='svgGraphic' onclick="displayMe(this.id)" onmouseover="onHoverChanges(this.id)" /> | <circle class='circlez' cx="-230" cy="365" r="135" stroke='#ffffff' stroke-width="0" fill="white" id='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'> | <text class='animate_text' id='t1' x='0' y='295' text-anchor='middle' fill='#000000'> | ||
− | <tspan x="-230" dy="2.5em">O.S.I.R.I.S.</tspan> | + | <tspan x="-230" dy="2.5em" onclick="displayMe('c_t1')">O.S.I.R.I.S.</tspan> |
− | <tspan x="-230" dy="1.5em">OVERVIEW</tspan> | + | <tspan x="-230" dy="1.5em" onclick="displayMe('c_t1')">OVERVIEW</tspan> |
</text> | </text> | ||
<circle class='circlez' cx="190" cy="365" r="135" stroke='#ffffff' stroke-width="0" fill="white" id='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' class='svgGraphic' onclick="displayMe(this.id)" onmouseover="onHoverChanges(this.id)" /> | ||
<text class='animate_text' id='t2' x='0' y='300' text-anchor='middle' fill='#000000'> | <text class='animate_text' id='t2' x='0' y='300' text-anchor='middle' fill='#000000'> | ||
− | <tspan x="195" dy="1.5em">RISK</tspan> | + | <tspan x="195" dy="1.5em" onclick="displayMe('c_t2')">RISK</tspan> |
− | <tspan x="195" dy="1.5em">ASSESSEMENT</tspan> | + | <tspan x="195" dy="1.5em" onclick="displayMe('c_t2')">ASSESSEMENT</tspan> |
− | <tspan x="193" dy="1.5em">& ANALYSIS</tspan> | + | <tspan x="193" dy="1.5em" onclick="displayMe('c_t2')">& ANALYSIS</tspan> |
</text> | </text> | ||
<circle class='circlez' cx="610" cy="365" r="135" stroke='#ffffff' stroke-width="0" fill="white" id='c_t3' class='svgGraphic' onclick="displayMe(this.id)" onmouseover="onHoverChanges(this.id)" /> | <circle class='circlez' cx="610" cy="365" r="135" stroke='#ffffff' stroke-width="0" fill="white" id='c_t3' class='svgGraphic' onclick="displayMe(this.id)" onmouseover="onHoverChanges(this.id)" /> | ||
<text class='animate_text' id='t3' x='0' y='300' text-anchor='middle' fill='#000000'> | <text class='animate_text' id='t3' x='0' y='300' text-anchor='middle' fill='#000000'> | ||
− | <tspan x="615" dy="1.6em">INTEGRATED</tspan> | + | <tspan x="615" dy="1.6em" onclick="displayMe('c_t3')">INTEGRATED</tspan> |
− | <tspan x="610" dy="1.5em">HUMAN</tspan> | + | <tspan x="610" dy="1.5em" onclick="displayMe('c_t3')">HUMAN</tspan> |
− | <tspan x="610" dy="1.5em">PRACTICES</tspan> | + | <tspan x="610" dy="1.5em" onclick="displayMe('c_t3')">PRACTICES</tspan> |
</text> | </text> | ||
<circle class='circlez' cx="1020" cy="365" r="135" stroke='#ffffff' stroke-width="0" fill="white" id='c_t4' class='svgGraphic' onclick="displayMe(this.id)" onmouseover="onHoverChanges(this.id)" /> | <circle class='circlez' cx="1020" cy="365" r="135" stroke='#ffffff' stroke-width="0" fill="white" id='c_t4' class='svgGraphic' onclick="displayMe(this.id)" onmouseover="onHoverChanges(this.id)" /> | ||
<text class='animate_text' id='t4' x='0' y='300' text-anchor='middle' fill='#000000'> | <text class='animate_text' id='t4' x='0' y='300' text-anchor='middle' fill='#000000'> | ||
− | <tspan x="1025" dy="2.3em">PUBLIC</tspan> | + | <tspan x="1025" dy="2.3em" onclick="displayMe('c_t4')">PUBLIC</tspan> |
− | <tspan x="1023" dy="1.5em">ENGAGEMENT</tspan> | + | <tspan x="1023" dy="1.5em" onclick="displayMe('c_t4')">ENGAGEMENT</tspan> |
</text> | </text> | ||
− | |||
− | |||
</svg> | </svg> | ||
Line 134: | Line 136: | ||
</div> | </div> | ||
+ | <!-- Subsection Box --> | ||
<div id='display_box'></div> | <div id='display_box'></div> | ||
− | <!-- | + | <!-- Part of template CSS file--> |
<style> | <style> | ||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
.circlez{ | .circlez{ | ||
Line 292: | Line 151: | ||
.opace{ opacity: 0.8; } | .opace{ opacity: 0.8; } | ||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
</style> | </style> | ||
Line 417: | Line 175: | ||
delete element; | delete element; | ||
− | |||
− | |||
</script> | </script> | ||
</body> | </body> | ||
</html> | </html> |
Revision as of 21:25, 28 August 2017