Code Socialist Projects

I didn't want all my old projects from codesocialist cluttering up my dashboard, so I ported them over to jsfiddle anonymously.

by Daniel Hall

HTML

<p>List of my old <a href="http://codesocialist.com">code socialist</a> projects</p><hr>
<ul id="list"></ul>

CSS

body{
    font:bold 16px courier new;
}
a{
    text-decoration:none;
    color:#00f;
}
a:hover{
    text-decoration:underline;
}
ul{
    list-style:none;
    margin:0;
    padding:0;
    border:1px solid #ccc;
}
ul li{
    padding:10px;
    border-bottom:1px solid #ccc;
}
ul li:hover{
    background:#eef;
}
ul li:last-child{
    border:none;
}

JavaScript

var i, item, link, links = [
    ['http://jsfiddle.net/nP7WZ/','Odyssey Game 1'],
    ['http://jsfiddle.net/n9tWX/','Pong Recreation'],
    ['http://jsfiddle.net/SCMfE/','3D Attempt'],
    ['http://jsfiddle.net/dSS8F/','3D layered paper stack'],
    ['http://jsfiddle.net/8gdMt/','Ball explosion'],
    ['http://jsfiddle.net/XGeWs/','Explosion simulator'],
    ['http://jsfiddle.net/FAHdW/','Weird spinny particle thing'],
    ['http://jsfiddle.net/5r7jh/','Box drawing thing'],
    ['http://jsfiddle.net/LeLLp/','Tele static generator'],
    ['http://jsfiddle.net/6HfMR/','Random Ball thing'],
    ['http://jsfiddle.net/HFSrL/','Map renderer'],
    ['http://jsfiddle.net/fqK7r/','Random Word Bouncer'],
    ['http://jsfiddle.net/tat9V/','Analog Clock'],
    ['http://jsfiddle.net/Spz9V/','Zappy thing']
];

for(i = 0; i < links.length; i++){
    item = document.createElement('li');
    link = document.createElement('a');
    link.href = links[i][0];
    link.innerHTML = links[i][1];
    link.target = '_blank';
    item.appendChild(link);
    list.appendChild(item);
}