From 14ee502e74edb5c06bdb7d820eaa7ea5ca11aaf7 Mon Sep 17 00:00:00 2001 From: Innovation Inc <connorrox60@gmail.com> Date: Sun, 21 Apr 2019 17:06:53 -0500 Subject: [PATCH] Create taskbar.html --- taskbar.html | 44 ++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 44 insertions(+) create mode 100644 taskbar.html diff --git a/taskbar.html b/taskbar.html new file mode 100644 index 0000000..1120faa --- /dev/null +++ b/taskbar.html @@ -0,0 +1,44 @@ +<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; + } + + </style> + + <body onload="startTime();"> + <center><div class="cwhite" id="txt"></div></center> + </body>