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 = 'MODEL');});</script> | ||
+ | |||
+ | <!-- Subsection onHover Functionality --> | ||
+ | <script> | ||
function onHoverChanges(idz){ | function onHoverChanges(idz){ | ||
$('.circlez').removeClass('opace'); | $('.circlez').removeClass('opace'); | ||
Line 42: | Line 41: | ||
} | } | ||
− | + | <!-- Display Subsection Functionality --> | |
− | function displayMe(idz){ | + | <script> |
− | + | function displayMe(idz){ $('#display_box').css('display', 'block'); scrollTillBottom(); } | |
− | + | </script> | |
− | } | + | |
− | </script> | + | <!-- Smooth Scrolling (Top to Bottom and vice versa) --> |
<script> | <script> | ||
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='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">A</tspan> | + | <tspan x="-230" dy="2.5em" onclick="displayMe('c_t1')">A</tspan> |
− | <tspan x="-230" dy="1.5em">a</tspan> | + | <tspan x="-230" dy="1.5em" onclick="displayMe('c_t1')">a</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">B</tspan> | + | <tspan x="195" dy="1.5em" onclick="displayMe('c_t2')">B</tspan> |
− | <tspan x="195" dy="1.5em">b</tspan> | + | <tspan x="195" dy="1.5em" onclick="displayMe('c_t2')">b</tspan> |
− | <tspan x="193" dy="1.5em">_b_</tspan> | + | <tspan x="193" dy="1.5em" onclick="displayMe('c_t2')">_b_</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">C</tspan> | + | <tspan x="615" dy="1.6em" onclick="displayMe('c_t3')">C</tspan> |
− | <tspan x="610" dy="1.5em">c</tspan> | + | <tspan x="610" dy="1.5em" onclick="displayMe('c_t3')">c</tspan> |
− | <tspan x="610" dy="1.5em">_c_</tspan> | + | <tspan x="610" dy="1.5em" onclick="displayMe('c_t3')">_c_</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">D</tspan> | + | <tspan x="1025" dy="2.3em" onclick="displayMe('c_t4')">D</tspan> |
− | <tspan x="1023" dy="1.5em">d</tspan> | + | <tspan x="1023" dy="1.5em" onclick="displayMe('c_t4')">d</tspan> |
</text> | </text> | ||
− | |||
− | |||
</svg> | </svg> | ||
Line 133: | Line 130: | ||
<img src='https://static.igem.org/mediawiki/2017/6/6f/GreeKom_desert_hd.jpeg' style='width:100%; height:100%;' /> | <img src='https://static.igem.org/mediawiki/2017/6/6f/GreeKom_desert_hd.jpeg' style='width:100%; height:100%;' /> | ||
</div> | </div> | ||
+ | |||
+ | <!-- Subsection Box --> | ||
<div id='display_box'></div> | <div id='display_box'></div> | ||
− | |||
<style> | <style> | ||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
.circlez{ | .circlez{ | ||
Line 291: | Line 145: | ||
.opace{ opacity: 0.8; } | .opace{ opacity: 0.8; } | ||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
</style> | </style> | ||
Line 416: | Line 168: | ||
delete element; | delete element; | ||
− | |||
− | |||
</script> | </script> | ||
</body> | </body> | ||
</html> | </html> |
Revision as of 21:07, 28 August 2017