added lunchuman

This commit is contained in:
Niels Serup
2012-02-28 11:37:03 +01:00
parent bba6a35228
commit 4d6d190e79
13 changed files with 449 additions and 0 deletions

View File

@@ -0,0 +1,19 @@
create_listener = function(elem) {
var listener = function() {
elem.value = '';
elem.removeEventListener('focus', listener, false);
};
return listener;
}
prepare_delete_onfocus = function() {
var elems, elemI, elem, listener;
elems = document.getElementsByClassName('deleteonfocus');
for (elemI in elems) {
elem = elems[elemI];
elem.addEventListener('focus', create_listener(elem), false);
}
}
window.onload = function(event) {prepare_delete_onfocus();}

View File

@@ -0,0 +1 @@
/home/niels/www/meta/subsites/lunchuman

View File

@@ -0,0 +1,57 @@
#header
{
background-color: pink;
color: green;
text-decoration: blink;
text-align: right;
}
#content
{
}
#footer
{
border-top: 1px black solid;
margin-top: 20px;
}
table {
margin: 5px auto;
border-collapse: collapse;
}
table, thead, tbody, tfoot, td, th {
border-style: inset;
border-color: black;
}
td, th {
margin: 0 5px;
padding: 1px 3px;
border-width: 0 2px 0 0;
}
td:last-child, th:last-child {
border-width: 0;
}
table, tbody {
border-width: 0;
}
thead {
border-width: 0 0 2px 0;
}
tfoot {
border-width: 2px 0 0 0;
}
thead, tfoot {
font-weight: bold;
}

View File

@@ -0,0 +1 @@
.