Update index-open.html

This commit is contained in:
Innovation Inc 2019-12-13 18:11:16 -06:00 committed by GitHub
parent a14fee8420
commit 9fd50f6b52
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -78,12 +78,26 @@
border: 5px solid gray;
margin: 0;
}
.cent {
position: relative;
top: 4px;
}
.taskbar {
position: fixed;
top: 0px;
left: 0px;
width: 100%;
height: 8px;
}
</style>
</head>
<body onload="makeDraggable()">
<p class="cwhite br3">DremJS Version 0.1.1b</p>
<p class="cwhite br2">Build 25</p>
<p class="cwhite br1">&copy; Innovation Inc.</p>
<div class="taskbar" onload="startTime()">
<a onclick="openApplication('About')"><img class="cent" src="apps/About/about.png"> |</a>
</div>
<div class="start startgray">
<ul class="astart">
<dt><a onclick="openApplication('About')"><p><img src="apps/About/about.png" align="top"> About DremJS</p></a></dt>
@ -102,6 +116,10 @@
</div>
<script>
/*function initAgendaWM() {
makeDraggable();
//startTime();
}*/
function makeDraggable() {
$(".framewrap")
.draggable()
@ -122,6 +140,21 @@
var element = document.getElementById(app);
element.parentNode.removeChild(element);
}
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>
</body>
</html>