-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathclock.html
executable file
·98 lines (63 loc) · 2.08 KB
/
clock.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
<!DOCTYPE html>
<html lang="en-us">
<head>
<meta charset="utf-8">
<title>self dest</title>
<style>
#clock_prede{
position:absolute;
top:150px;
left:30px;
height:70px;
width:50px;
}
</style>
<script type="text/javascript">
function move2(){
var image_tracker = 'f';
var now = new Date();
var second3 = now.getSeconds();
var image = document.getElementById('clock_picthree');
if(image_tracker == 'f'){
//image.src = './repredator/pre7.png';
alert(image.src);
image.src = 'pre7.png';
image_tracker = 't';
}else{
//image.src = './repredator/pre5.png';
alert(image.src);
image.src = 'pre5.png';
image_tracker = 'f';
}
//image.src
}
</script>
</head>
<body bgcolor="000000">
<!-- <p syle = "backgroud-color:#FFFFFF"> -->
<font color ="red" size="13">
<!-- time -->
<div id="clock_time"></div>
<!-- date -->
<div id="clock_date"></div>
<div id="prenumber" align="right">
<img src = "repredator/pre2.png" id="myIng2" onclick="changeImg()" width="50" height="50"> '<-' push here,aroud here!!
</div>
<div id="human_number" align="right">666</div><br>
<script type="text/javascript" src="clock.js"></script><br>
<!-- image.src = 'repredator/pre' + second3 + '\.png'; -->
..<img src = "repredator/pre1.png" id="watH1" alt="watch1" width="100" height="100"><img src = "repredator/pre2.png" id="watH2" alt="watch2" width="100" height="100"><img src = "repredator/pre3.png" id="watM1" alt="watch3" width="100" height="100"><img src = "repredator/pre4.png" id="watM2" alt="watch4" width="100" height="100">
<br>
<div id="clock_pictwo"></div> <br>
<div id="clock_picone" align="right"></div><br>
<div id = "clock_picthree">
clock three testing..
<img src = "repredator/pre1.png" alt="clock_prede" width="50" height="50">
</div><br>
<fo//rm><p>
<input type="button" id="sBtn" value="boom" onclick="move3()">
</p></form>
</font>
<!-- </p> -->
</body>
</html>