full reverse timer or sth
This commit is contained in:
parent
badfb3b5d3
commit
0f7bae23fe
@ -402,7 +402,7 @@
|
||||
}
|
||||
</script>
|
||||
</div>
|
||||
<div style="position:fixed;top:10px;left:10px; font-size: 7vh; border:1vh solid #ff0000">
|
||||
<div style="position:fixed;top:10px;right:10px; font-size: 7vh; border:1vh solid #ff0000">
|
||||
<div id="negclock" style="font-weight: bold; color:#ffff00; background-color: rgb(255,0,0);">
|
||||
Amogus
|
||||
</div>
|
||||
@ -423,7 +423,7 @@
|
||||
}
|
||||
}
|
||||
previousValue2 = Math.floor(d.getMilliseconds() + 1000 * (d.getSeconds() % 2)/400);
|
||||
document.getElementById("negclock").innerHTML = (365 - d.getDay()).toString().padStart(3, '0') + " - " + d.getHours().toString().padStart(2, '0') + ":" + d.getMinutes().toString().padStart(2, '0') + ":" + d.getSeconds().toString().padStart(2, '0') + "." + d.getMilliseconds().toString().padStart(3, '0');
|
||||
document.getElementById("negclock").innerHTML = (365 - d.getDay()).toString().padStart(3, '0') + "-" + (24 - d.getHours()).toString().padStart(2, '0') + ":" + (60 - d.getMinutes()).toString().padStart(2, '0') + ":" + (60 - d.getSeconds()).toString().padStart(2, '0') + "." + d.getMilliseconds().toString().padStart(3, '0');
|
||||
}
|
||||
</script>
|
||||
</div>
|
||||
|
Loading…
Reference in New Issue
Block a user