-
Notifications
You must be signed in to change notification settings - Fork 0
/
35 vote.html
132 lines (131 loc) · 2.8 KB
/
35 vote.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
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
<!DOCTYPE html>
<html>
<head>
<title>INFX: 35 vote</title>
<style>
#sketchImage {
width: 1200px; height: 1793px;
background-image: url("35 vote.png");
background-size: contain;
background-color: #cccccc;
border: 1px solid #cccccc;
}
.link {
display: block;
position: absolute;
background-color: transparent;
}
.linkExternal {
display: block;
position: absolute;
background-color: transparent;
}
.linkInvalid {
display: block;
position: absolute;
background-color: transparent;
}
.linkInvalidExternal {
display: block;
position: absolute;
background-color: transparent;
}
#notes {
max-width: 1200px;
margin-top: 10px;
margin-left: 10px;
margin-right: 10px;
white-space: pre-wrap;
}
@keyframes fadeValid {
from { background-color: orange; }
to { background-color: transparent; }
}
@keyframes fadeInvalid {
from { background-color: gray; }
to { background-color: transparent; }
}
</style>
</head>
<body style="margin: 0px">
<div id="sketchImage" onclick="blinkLinks()">
</div>
<a href="31 menu.html">
<div
class="link";
style="left:10px; top:2px; width:94px; height:87px";>
</div>
</a>
<a href="14 welcome.html">
<div
class="link";
style="left:532px; top:3px; width:66px; height:96px";>
</div>
</a>
<a href="46 profile.html">
<div
class="link";
style="left:1104px; top:9px; width:73px; height:70px";>
</div>
</a>
<a href="36 vote top pitch 1.html">
<div
class="link";
style="left:6px; top:131px; width:209px; height:358px";>
</div>
</a>
<a href="38 vote top pitch 2.html">
<div
class="link";
style="left:253px; top:144px; width:204px; height:362px";>
</div>
</a>
<a href="39 vote top pitch 3.html">
<div
class="link";
style="left:500px; top:134px; width:239px; height:360px";>
</div>
</a>
<a href="40 vote top pitch 4.html">
<div
class="link";
style="left:793px; top:135px; width:192px; height:375px";>
</div>
</a>
<a href="41 vote top pitch 5.html">
<div
class="link";
style="left:1017px; top:130px; width:180px; height:398px";>
</div>
</a>
<a href="37 random pitch.html">
<div
class="link";
style="left:8px; top:1684px; width:1182px; height:106px";>
</div>
</a>
<a href="60 thanks for commenting.html">
<div
class="link";
style="left:749px; top:1603px; width:389px; height:66px";>
</div>
</a>
<div id="notes">
</div>
</body>
<script>
var links = document.querySelectorAll(".link, .linkExternal, .linkInvalid, .linkInvalidExternal");
function blinkLinks() {
var x;
for (x of links) {
x.addEventListener("animationend", animEnd);
if ((x.className == "link") || (x.className == "linkExternal")) {
x.style.animation = "fadeValid 1000ms";
} else {
x.style.animation = "fadeInvalid 1000ms";
}
}
}
function animEnd() { this.style.animation = "" }
</script>
</html>