m |
m |
||
(5 intermediate revisions by the same user not shown) | |||
Line 8: | Line 8: | ||
<body> | <body> | ||
<div class="introContainer"> | <div class="introContainer"> | ||
− | <span | + | <span><div id="image-overlay"></div></span> |
− | + | <div class="heading elevate-navbar"></div> | |
− | + | <div class="heading other"></div> | |
<script> | <script> | ||
var scroll = new SmoothScroll('a[href*="#"]', { | var scroll = new SmoothScroll('a[href*="#"]', { | ||
Line 19: | Line 19: | ||
</script> | </script> | ||
</div> | </div> | ||
+ | <div class="milkWave milkWaveContentPage" id="animWaveContentPage"> | ||
+ | <svg width="100%" height="100%" version="1.1" xmlns="http://www.w3.org/2000/svg"> | ||
+ | <path class="animWavePath" d="" fill="#fafafc" /> | ||
+ | </svg> | ||
+ | </div> | ||
+ | <script type="text/javascript" src="https://2020.igem.org/wiki/index.php?title=Template:Vilnius-Lithuania/JS/WaveScript&action=raw&ctype=text/javascript"></script> | ||
+ | <script> | ||
+ | var setWaveParamsContentPage = () => { | ||
+ | let container = document.querySelector(".introContainer"); | ||
+ | return { | ||
+ | width: container.offsetWidth, | ||
+ | height: container.offsetHeight, | ||
+ | waveWidth: container.offsetWidth, | ||
+ | waveHeight: container.offsetHeight * 0.9, | ||
+ | waveDelta: 20, | ||
+ | speed: 0.15, | ||
+ | wavePoints: 5, | ||
+ | }; | ||
+ | } | ||
+ | makeWave(document.getElementById("animWaveContentPage"), setWaveParamsContentPage); | ||
+ | </script> | ||
<script type="text/javascript" src="https://2020.igem.org/wiki/index.php?title=Template:Vilnius-Lithuania/JS/ContentPage&action=raw&ctype=text/javascript"></script> | <script type="text/javascript" src="https://2020.igem.org/wiki/index.php?title=Template:Vilnius-Lithuania/JS/ContentPage&action=raw&ctype=text/javascript"></script> | ||
<script type="text/javascript" src="https://2020.igem.org/wiki/index.php?title=Template:Vilnius-Lithuania/JS/ContentPageIndex&action=raw&ctype=text/javascript"></script> | <script type="text/javascript" src="https://2020.igem.org/wiki/index.php?title=Template:Vilnius-Lithuania/JS/ContentPageIndex&action=raw&ctype=text/javascript"></script> | ||
</body> | </body> |
Latest revision as of 13:01, 24 October 2020