initial commit

This commit is contained in:
Phuntsok Drak-pa
2018-09-29 21:47:26 +02:00
commit 8629c9369f
53 changed files with 8414 additions and 0 deletions

19
js/main.js Normal file
View File

@@ -0,0 +1,19 @@
window.onload = main;
var d = document;
var de = d.documentElement;
var offset = 0;
function main() {
console.log("JS loaded");
setInterval(frame, 1000.0 / 60.0);
}
function frame() {
if (offset >= (de.clientWidth)) {
offset = -100;
} else {
offset += 3;
}
d.getElementById("carre").style.marginLeft = offset + "px";
}