-
Notifications
You must be signed in to change notification settings - Fork 0
/
500.html
80 lines (71 loc) · 2.19 KB
/
500.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
<html id="html">
<head>
<title>HOTFORMATH.COM</title>
<style>
* {
margin: 0;
padding: 0;
}
#horizon {
/*border: 1px solid green;*/
text-align: center;
position: absolute;
top: 50%;
left: 0px;
width: 100%;
height: 1px;
overflow: visible;
display: block
}
#content {
/*border: 1px solid blue;*/
width: 400px;
height: 320px;
margin-left: -200px;
position: absolute;
top: -160px;
left: 50%;
visibility: visible
}
html {
background: url(face.jpg) no-repeat center center fixed;
-webkit-background-size: cover;
-moz-background-size: cover;
-o-background-size: cover;
background-size: cover;
}
</style>
</head>
<body style="background-color:#000000">
<audio id="myAudio">
<source src="scream2.ogg" type="audio/ogg">
<source src="scream2.mp3" type="audio/mpeg">
</audio>
<div id="horizon">
<span id="content" onClick="scare()">
<img id="eye" src="eye.gif">
</span>
<!-- closes content-->
</div>
<!-- closes horizon-->
<script>
function scare() {
document.getElementById("horizon").style.visibility = "hidden";
document.getElementById("content").style.visibility = "hidden";
document.getElementById("html").style.visibility = "hidden";
var x = document.getElementById("myAudio");
x.play();
}
</script>
</body>
<script>
(function (i, s, o, g, r, a, m) {
i['GoogleAnalyticsObject'] = r; i[r] = i[r] || function () {
(i[r].q = i[r].q || []).push(arguments)
}, i[r].l = 1 * new Date(); a = s.createElement(o),
m = s.getElementsByTagName(o)[0]; a.async = 1; a.src = g; m.parentNode.insertBefore(a, m)
})(window, document, 'script', 'https://www.google-analytics.com/analytics.js', 'ga');
ga('create', 'UA-75622054-1', 'auto');
ga('send', 'pageview');
</script>
</html>