m |
m |
||
(3 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 class="heading elevate-navbar"></div> |
− | <div class="heading other"> | + | <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=" | + | <div class="milkWave milkWaveContentPage" id="animWaveContentPage"> |
<svg width="100%" height="100%" version="1.1" xmlns="http://www.w3.org/2000/svg"> | <svg width="100%" height="100%" version="1.1" xmlns="http://www.w3.org/2000/svg"> | ||
<path class="animWavePath" d="" fill="#fafafc" /> | <path class="animWavePath" d="" fill="#fafafc" /> | ||
Line 26: | Line 26: | ||
<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 type="text/javascript" src="https://2020.igem.org/wiki/index.php?title=Template:Vilnius-Lithuania/JS/WaveScript&action=raw&ctype=text/javascript"></script> | ||
<script> | <script> | ||
− | var | + | var setWaveParamsContentPage = () => { |
let container = document.querySelector(".introContainer"); | let container = document.querySelector(".introContainer"); | ||
return { | return { | ||
Line 38: | Line 38: | ||
}; | }; | ||
} | } | ||
− | makeWave(document.getElementById(" | + | makeWave(document.getElementById("animWaveContentPage"), setWaveParamsContentPage); |
</script> | </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