-
Notifications
You must be signed in to change notification settings - Fork 74
/
footer.html
30 lines (26 loc) · 1.33 KB
/
footer.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
© 2014 Kasper Peulen. Created with <a href="http://www.geogebra.org/">GeoGebra</a>.
<p>Note that you are playing the old version of this level. Click <a id="new">here</a> to go to the new version of this level.</p>
<script>
var url = document.URL
var newurl1 = url.lastIndexOf("/");
var newurl2 = url.lastIndexOf(".");
var element = document.getElementById("new");
element.setAttribute("href", url.substring(newurl1,newurl2));
</script>
<script type="text/javascript">
function toggleDiv(divId) {
$("#"+divId).toggle();
}
</script>
<a href="javascript:toggleDiv('disqus_thread');">Click</a> to show comments. Be aware, they may contain spoilers. <br>
<div style="max-width:800px; font-size:5pt;"id="disqus_thread"></div>
<script type="text/javascript">
/* * * CONFIGURATION VARIABLES: EDIT BEFORE PASTING INTO YOUR WEBPAGE * * */
var disqus_shortname = 'euclidthegame'; // required: replace example with your forum shortname
/* * * DON'T EDIT BELOW THIS LINE * * */
(function() {
var dsq = document.createElement('script'); dsq.type = 'text/javascript'; dsq.async = true;
dsq.src = '//' + disqus_shortname + '.disqus.com/embed.js';
(document.getElementsByTagName('head')[0] || document.getElementsByTagName('body')[0]).appendChild(dsq);
})();
</script>