summaryrefslogtreecommitdiff
path: root/crocoite/data/scroll.js
blob: cf060fc4b49d505d3e0ee756d1ce716034f3b838 (plain)
1
2
3
4
5
6
7
8
9
10
(function(){
function scroll (event) {
    window.scrollBy (0, window.innerHeight/2);
    return true;
}
function onload (event) {
    window.setInterval (scroll, 200);
}
document.addEventListener("DOMContentLoaded", onload);
}());