Update index-open.html

This commit is contained in:
DremOS Developing Team 2018-11-07 15:41:20 -06:00 committed by GitHub
parent 1a4e58db81
commit 14fe47d1b7
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -3,6 +3,25 @@
<title>DremJS</title> <title>DremJS</title>
<embed src="mopen.mp3" width="0" height="0" loop="false" autostart="true" hidden="true" /> <embed src="mopen.mp3" width="0" height="0" loop="false" autostart="true" hidden="true" />
<embed src="ambient.mp3" width="0" loop="true" autostart="true" hidden="true" /> <embed src="ambient.mp3" width="0" loop="true" autostart="true" hidden="true" />
<script src="jquery/jquery-3.3.1.min.js"></script>
<script src="jquery/jquery-3.3.1.min.js"></script>
<script>
function startTime() {
var today = new Date();
var h = today.getHours();
var m = today.getMinutes();
var s = today.getSeconds();
m = checkTime(m);
s = checkTime(s);
document.getElementById('txt').innerHTML =
h + ":" + m + ":" + s;
var t = setTimeout(startTime, 500);
}
function checkTime(i) {
if (i < 10) {i = "0" + i}; // add zero in front of numbers < 10
return i;
}
</script>
<style> <style>
.start { .start {
position: absolute; position: absolute;
@ -33,6 +52,12 @@
position: absolute; position: absolute;
bottom: 36px; bottom: 36px;
right: 16px; right: 16px;
font-size: 12px;
}
.br4 {
position: absolute;
bottom: 50px;
right: 16px;
font-size: 12px; font-size: 12px;
} }
html { html {
@ -57,7 +82,8 @@
margin: 0; margin: 0;
} }
</style> </style>
<body> <body onload="startTime();">
<p class="cwhite br4"><div id="txt"></div></p>
<p class="cwhite br3">DremJS Version 0.0.8-2a</p> <p class="cwhite br3">DremJS Version 0.0.8-2a</p>
<p class="cwhite br2">Build 14</p> <p class="cwhite br2">Build 14</p>
<p class="cwhite br1">&copy; Innovation Inc.</p> <p class="cwhite br1">&copy; Innovation Inc.</p>