Update index.html

This commit is contained in:
Innovation Inc 2019-04-21 17:05:33 -05:00 committed by GitHub
parent 2bbcab3c7a
commit 16b4dddadf
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -12,23 +12,6 @@
<title>DremJS</title>
<head>
<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>
<link rel="icon" href="favicon.ico">
</head>
<embed src="startup.mp3" width="0" height="0" loop="true" autostart="true" hidden="true" />
@ -48,9 +31,8 @@ function checkTime(i) {
}
</style>
<body onload="startTime();">
<center><div id="txt"></div>
<center>
<iframe src="taskbar.html" stype="height:10%;width:100%"></iframe>
<iframe src="index-closed.html" style="height:90%;width:100%"></iframe>
<a href="index2.html"><button>Home</button></a></center>
</body>