Update index-open.html
This commit is contained in:
parent
14fe47d1b7
commit
3fd55d7caa
|
@ -3,25 +3,6 @@
|
||||||
<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;
|
||||||
|
@ -52,12 +33,6 @@ function checkTime(i) {
|
||||||
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 {
|
||||||
|
@ -82,8 +57,7 @@ function checkTime(i) {
|
||||||
margin: 0;
|
margin: 0;
|
||||||
}
|
}
|
||||||
</style>
|
</style>
|
||||||
<body onload="startTime();">
|
<body>
|
||||||
<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">© Innovation Inc.</p>
|
<p class="cwhite br1">© Innovation Inc.</p>
|
||||||
|
|
Loading…
Reference in a new issue