Update index2.html

This commit is contained in:
Innovation Inc 2019-04-21 18:08:08 -05:00 committed by GitHub
parent 4a098861c1
commit 76c650672c
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -12,23 +12,6 @@
<title>DremJS</title> <title>DremJS</title>
<head> <head>
<script src="jquery/jquery-3.3.1.min.js"></script> <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"> <link rel="icon" href="favicon.ico">
</head> </head>
<style> <style>
@ -46,9 +29,10 @@ function checkTime(i) {
color: white; color: white;
} }
</style> </style>
<body onload="startTime();"> <body">
<center><div id="txt"></div> <center>
<iframe src="index-closed.html" style="height:90%;width:100%"></iframe> <iframe src="index-all.html" frameborder="0" style="height:90%;width:100%"></iframe>
<a href="index2.html"><button>Home</button></a></center> <a href="index2.html"><button>Home</button></a>
</center>
</body> </body>
</html> </html>