mirror of https://github.com/dirtbags/moth.git
Self-shuffling credits list + Thanks Jeremy
This commit is contained in:
parent
8b5efdbe8f
commit
12f87cd1fd
|
@ -3,6 +3,26 @@
|
||||||
<head>
|
<head>
|
||||||
<title>The Credits</title>
|
<title>The Credits</title>
|
||||||
<link rel="stylesheet" href="css/style.css" type="text/css">
|
<link rel="stylesheet" href="css/style.css" type="text/css">
|
||||||
|
<script>
|
||||||
|
function shuf (ul) {
|
||||||
|
var lists = document.getElementsByClassName("shuf");
|
||||||
|
for (var l = 0; l < lists.length; l += 1) {
|
||||||
|
var ul = lists[l];
|
||||||
|
|
||||||
|
for (var i = ul.children.length; i >= 0; i--) {
|
||||||
|
ul.appendChild(ul.children[Math.random() * i | 0]);
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
function init() {
|
||||||
|
shuf();
|
||||||
|
setInterval(shuf, 2000);
|
||||||
|
}
|
||||||
|
|
||||||
|
window.addEventListener("load", init);
|
||||||
|
|
||||||
|
</script>
|
||||||
</head>
|
</head>
|
||||||
<body>
|
<body>
|
||||||
<h1>Credits</h1>
|
<h1>Credits</h1>
|
||||||
|
@ -10,7 +30,8 @@
|
||||||
<section>
|
<section>
|
||||||
<h2>Created By</h2>
|
<h2>Created By</h2>
|
||||||
|
|
||||||
<ul>
|
<ul class="shuf">
|
||||||
|
<!-- Added in order of date -->
|
||||||
<li>Neale Pickett</li>
|
<li>Neale Pickett</li>
|
||||||
<li>Aaron McPhall</li>
|
<li>Aaron McPhall</li>
|
||||||
<li>Ken S</li>
|
<li>Ken S</li>
|
||||||
|
@ -25,13 +46,17 @@
|
||||||
<li>Curtis Hash</li>
|
<li>Curtis Hash</li>
|
||||||
<li>Erin Ochoa</li>
|
<li>Erin Ochoa</li>
|
||||||
<li>William Phillips</li>
|
<li>William Phillips</li>
|
||||||
<li>Should your name be here? Please remind me!</li>
|
<li>Jeremy Hefner</li>
|
||||||
</ul>
|
</ul>
|
||||||
|
|
||||||
|
<p>
|
||||||
|
Should your name be here? Please remind me!
|
||||||
|
</p>
|
||||||
</section>
|
</section>
|
||||||
|
|
||||||
<section>
|
<section>
|
||||||
<h2>Inspiration</h2>
|
<h2>Inspiration</h2>
|
||||||
<ul>
|
<ul class="shuf">
|
||||||
<li>DC949</li>
|
<li>DC949</li>
|
||||||
<li>Tube Warriors</li>
|
<li>Tube Warriors</li>
|
||||||
<li>Sandia National Laboratories</li>
|
<li>Sandia National Laboratories</li>
|
||||||
|
@ -45,7 +70,7 @@
|
||||||
thousands of lines of code from free software authors around the
|
thousands of lines of code from free software authors around the
|
||||||
world, including:
|
world, including:
|
||||||
</p>
|
</p>
|
||||||
<ul>
|
<ul class="shuf">
|
||||||
<li>Busybox</li>
|
<li>Busybox</li>
|
||||||
<li>Linux</li>
|
<li>Linux</li>
|
||||||
<li>dnsmasq</li>
|
<li>dnsmasq</li>
|
||||||
|
|
Loading…
Reference in New Issue