Update index2.html
This commit is contained in:
parent
4a098861c1
commit
76c650672c
26
index2.html
26
index2.html
|
@ -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>
|
||||||
|
|
Loading…
Reference in a new issue