-
Notifications
You must be signed in to change notification settings - Fork 0
/
v2.html
83 lines (69 loc) · 1.61 KB
/
v2.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
<html>
<head>
<meta charset="utf-8">
<title>Profile visualization experiments</title>
<style>
body {
min-width: 900px;
max-width: 900px;
margin: 100px auto;
text-align: left;
}
#bigmap {
border: solid 1px #999;
margin-bottom: 10px;
overflow: hidden;
}
#minimap {
border: solid 1px #999;
overflow: hidden;
}
#minimap canvas {
margin-bottom: -1px;
margin-left: -1px;
}
#overlay {
border: solid 1px transparent;
position: absolute;
}
.zoom {
position: absolute;
border: solid 1px black;
transition-property: left;
transition-duration: 1s;
}
.symbol {
position: absolute;
padding: 12px 5px 0 0;
text-align: right;
color: #666;
font-family: Verdana, Arial;
font-size: 80%;
}
a {
color: steelblue;
}
p {
width: 900px;
font-family: Verdana, Arial;
font-size: 80%;
}
p.rel {
font-size: 70%;
}
</style>
<script src="data.js"></script>
<script src="v2.js"></script>
</head>
<body onload="main()">
<p class="jank">JANK:
<a data-val="10" href="#">10</a>,
<a data-val="15" href="#">15</a>.
</p>
<div id="bigmap"></div>
<div id="minimap"></div>
<div id="overlay"></div>
<p class="rel">Related: <a href="https://bugzilla.mozilla.org/show_bug.cgi?id=879007">bug
879007</a>, <a href="data.js">data file</a> used here.</p>
</body>
</html>