Scroll to policy when ">" pressed
This commit is contained in:
parent
c7b9f5afbd
commit
76042d810b
10
index.html
10
index.html
|
@ -30,7 +30,7 @@
|
||||||
<li><a href="https://events.ccc.de/congress/2019">36C3</a></li>
|
<li><a href="https://events.ccc.de/congress/2019">36C3</a></li>
|
||||||
<li><a href="https://emfcamp.org"><s>EMF2020</s></a> stupid virus</li>
|
<li><a href="https://emfcamp.org"><s>EMF2020</s></a> stupid virus</li>
|
||||||
</ul>
|
</ul>
|
||||||
<h3>Policy</h2>
|
<h3 id='policy'>Policy</h2>
|
||||||
<ol class="left-aligned">
|
<ol class="left-aligned">
|
||||||
<li>No one shall dissuade or stop anyone from making anything, especially if it's a bad idea.</li>
|
<li>No one shall dissuade or stop anyone from making anything, especially if it's a bad idea.</li>
|
||||||
<li>"Fuck it, we'll do it live" is always acceptable.</li>
|
<li>"Fuck it, we'll do it live" is always acceptable.</li>
|
||||||
|
@ -39,5 +39,13 @@
|
||||||
<li>Un defined, (but positive) number of ✅ are needed for policy approvals.</li>
|
<li>Un defined, (but positive) number of ✅ are needed for policy approvals.</li>
|
||||||
</ol>
|
</ol>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
|
<script>
|
||||||
|
document.onkeypress = (e) => {
|
||||||
|
if (e.key === '>') {
|
||||||
|
document.getElementById("policy").scrollIntoView();
|
||||||
|
}
|
||||||
|
}
|
||||||
|
</script>
|
||||||
</body>
|
</body>
|
||||||
</html>
|
</html>
|
||||||
|
|
Loading…
Reference in New Issue