links moved to the page bottom

This commit is contained in:
Christian Mueller
2014-01-26 09:56:56 +01:00
parent 4a395fe167
commit c0ac559608
3 changed files with 8 additions and 1 deletions
+7
View File
@@ -48,4 +48,11 @@ function onLoad() {
elem.innerHTML = md2html(child.value);
show(elem);
}
if(window.innerHeight >= document.body.clientHeight) {
var links = $("links");
links.style.position = "fixed";
links.style.bottom = 0;
}
}