dremjs-old/index.html

47 lines
1.1 KiB
HTML

<html>
<!-- classes were from SparrOS Developer Team -->
<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>
</head>
<embed src="startup.mp3" width="0" height="0" loop="true" autostart="true" hidden="true" />
<style>
.start {
position: absolute;
left: 0px;
bottom: 0px;
}
.astart {
position: absolute;
left: 0px;
bottom: 50px;
}
.cwhite {
color: white;
}
</style>
<body onload="startTime();">
<div id="txt"></div>
<iframe src="index-closed.html" style="height:580px;width:1200px"></iframe>
<a href="index2.html"><button>Home</button></a>
</body>
</html>