Update index.html
This commit is contained in:
parent
2bbcab3c7a
commit
16b4dddadf
22
index.html
22
index.html
|
@ -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>
|
||||
|
|
Loading…
Reference in a new issue