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 = 'PROJECT');});</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> | |
− | function displayMe(idz){ | + | function displayMe(idz){ $('#display_box').css('display', 'block'); scrollTillBottom(); } |
− | + | </script> | |
− | + | ||
− | } | + | <!-- Smooth Scrolling (Top to Bottom and vice versa) --> |
− | </script> | + | <script> |
− | <script> | + | |
var myVar; | var myVar; | ||
Line 105: | Line 104: | ||
<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='275' text-anchor='middle' fill='#000000'> | <text class='animate_text' id='t1' x='0' y='275' text-anchor='middle' fill='#000000'> | ||
− | <tspan x="-230" dy="2.5em">OVERVIEW:</tspan> | + | <tspan x="-230" dy="2.5em" onclick="displayMe('c_t1')">OVERVIEW:</tspan> |
− | <tspan x="-230" dy="1.5em">UNITS/DISCIPLINES/</tspan> | + | <tspan x="-230" dy="1.5em" onclick="displayMe('c_t1')">UNITS/DISCIPLINES/</tspan> |
− | <tspan x="-230" dy="1.5em">TRAINING</tspan> | + | <tspan x="-230" dy="1.5em" onclick="displayMe('c_t1')">TRAINING</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='335' text-anchor='middle' fill='#000000'> | <text class='animate_text' id='t2' x='0' y='335' text-anchor='middle' fill='#000000'> | ||
− | <tspan x="195" dy="1.5em">MEMBERS</tspan> | + | <tspan x="195" dy="1.5em" onclick="displayMe('c_t2')">MEMBERS</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='335' text-anchor='middle' fill='#000000'> | <text class='animate_text' id='t3' x='0' y='335' text-anchor='middle' fill='#000000'> | ||
− | <tspan x="615" dy="1.5em">SUPERVISORS</tspan> | + | <tspan x="615" dy="1.5em" onclick="displayMe('c_t3')">SUPERVISORS</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='335' text-anchor='middle' fill='#000000'> | <text class='animate_text' id='t4' x='0' y='335' text-anchor='middle' fill='#000000'> | ||
− | <tspan x="1025" dy="1.5em">ATTRIBUTIONS</tspan> | + | <tspan x="1025" dy="1.5em" onclick="displayMe('c_t4')">ATTRIBUTIONS</tspan> |
</text> | </text> | ||
− | |||
− | |||
</svg> | </svg> | ||
− | |||
− | |||
− | |||
− | |||
− | |||
+ | <!-- Video Background --> | ||
<video id="video" autoplay="autoplay" muted="muted" preload="auto" loop="loop"> | <video id="video" autoplay="autoplay" muted="muted" preload="auto" loop="loop"> | ||
<!--<source src="https://cldup.com/tPZsN3E3uG.mp4" type="video/mp4">--> | <!--<source src="https://cldup.com/tPZsN3E3uG.mp4" type="video/mp4">--> | ||
Line 135: | Line 128: | ||
</video> | </video> | ||
− | < | + | <!-- Subsection Box --> |
− | + | <div id='display_box'></div> | |
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | </ | + | |
− | + | ||
− | <!-- | + | <!-- Part of template CSS file--> |
<style> | <style> | ||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
.circlez{ | .circlez{ | ||
Line 293: | Line 143: | ||
.opace{ opacity: 0.8; } | .opace{ opacity: 0.8; } | ||
+ | |||
</style> | </style> | ||
− | <!-- | + | <!-- Special style --> |
− | + | ||
− | + | ||
<style> | <style> | ||
− | + | video{ | |
− | + | position: fixed; | |
− | + | display:none; | |
− | + | top: 0%; | |
− | + | left: 0%; | |
− | + | min-width: 100%; | |
− | + | min-height: 100%; | |
− | + | width: inherit; | |
− | + | height: inherit; | |
− | + | z-index: 999; | |
− | + | overflow: hidden; | |
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
} | } | ||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
</style> | </style> | ||
Line 418: | Line 184: | ||
delete element; | delete element; | ||
− | |||
− | |||
</script> | </script> | ||
</body> | </body> | ||
</html> | </html> |
Revision as of 21:38, 28 August 2017