dremjs-old/taskbar.html

78 lines
1.5 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>
<link rel="icon" href="favicon.ico">
</head>
<style>
.start {
position: absolute;
left: 0px;
bottom: 0px;
}
.astart {
position: absolute;
left: 0px;
bottom: 50px;
}
.cwhite {
color: white;
position: absolute;
}
p {
color: white;
}
.nowrap {
white-space: nowrap;
}
a:link
{
color:#FFFFFF;
text-decoration: none;
}
a:visited
{
color:#FFFFFF;
text-decoration: none;
}
a:hover
{
color:#FFFFFF;
text-decoration: none;
}
.cent
{
position: relative;
top: 4px;
}
</style>
<body style="background-color:black;" onload="startTime();">
<a target="app" href="index-closed.html" title="Returns you to the Home Menu"><button>Home</button> </a>
<a target="app" href="apps/About/index.html" ><img class="cent" src="apps/About/about.png"> |</a>
<br />
<div class="cwhite" style="text-align:left" id="txt"></div>
</body>
</html>