-
Notifications
You must be signed in to change notification settings - Fork 2
/
index.html
188 lines (187 loc) · 9.29 KB
/
index.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
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
<!DOCTYPE html>
<head>
<meta charset="utf-8"/>
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<link rel="manifest" href="manifest.json">
<link rel="stylesheet" href="Aegean.css"/>
<link rel="stylesheet" href="explorer.css"/>
<link rel="icon" type="image/x-icon" href="icons/archer.png" id="icon">
<link href="https://fonts.googleapis.com/css2?family=Merriweather:wght@300&display=swap" rel="stylesheet">
<script>
function changeIcon(url) { document.getElementById("icon").href = url; }
</script>
<style>
body {
font-family: 'Routed', 'Noto Symbols', 'AegeanRegular', 'Aegean', 'Noto Sans Linear A and B', 'Noto Mono', sans-serif;
font-size: 18px;
margin: 0px;
}
</style>
<!-- Global site tag (gtag.js) - Google Analytics -->
<script async src="https://www.googletagmanager.com/gtag/js?id=G-7YLJ0TG8GN"></script>
<script>
window.dataLayer = window.dataLayer || [];
function gtag(){dataLayer.push(arguments);}
gtag('js', new Date());
gtag('config', 'G-7YLJ0TG8GN');
</script>
</head>
<div id="result" class="result"></div>
<div class="masthead-container">
<div class="masthead"><a href="/">LINEAR B</a></div>
</div>
<script>
window.onload = function() {
// If we've been passed a specific inscription in the URL path
// then zoom it.
var urlPath = /\/\/(.+)\/(.+)/.exec(document.referrer);
if (urlPath) {
var id = urlPath[2];
if (!inscriptions.has(id)) {
return;
}
loadInscription(inscriptions.get(id))
var inscription = document.getElementById(id);
zoomItem(inscription);
}
};
</script>
<div id="container">
</div>
<div class="label image-label" id="credits">
<span>Images <a href="http://calibra.classics.cam.ac.uk/" target="_blank">© CALIBRA</a> and <a href="https://digi.ub.uni-heidelberg.de/diglit/evans1952" target="_blank">A.Evans</a><br>
<span>Transcriptions and metadata<a href="https://www.hf.uio.no/ifikk/english/research/projects/damos/" target="_blank">© Damos</a></span><br>
<span>Lexicon from<a href="https://linear-b.kinezika.com/lexicon.html" target="_blank">linear-b.kinezika.com/s</a></span>
</div>
<div class="tip" id="tip"></div>
<div id="top-right-console" class="top-right-console">
<div class="sort-status" id="sort-status" onclick="resetSort(event)"></div>
<div class="search-terms" id="search-terms"></div>
</div>
<div class="help-menu" id="help_menu">
<div style="width: 100%; height: 100%;">
<iframe width="100%" height="100%" src="https://www.youtube.com/embed/urlheDEcV2U" frameborder="0" allow="accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture" allowfullscreen></iframe>
</div>
<span> Click on words to filter inscriptions.<br></span>
<span> <br></span>
<span> '<b>w</b>' - highlight words according to frequency in the corpus.<br></span>
<span> <br></span>
<span> '<b>1 to 9</b>' - save the current search terms under that number. <br></span>
<span> '<b>Shift + 1 to 9</b>' - retrieve the search terms saved under that number. <br></span>
<span> '<b>/</b>' - Search for an inscription. To use regular expressions, precede regular<br></span>
<span style="white-space: pre;"> expression operators with a '\', e.g. -JA\$ to search for -JA<br></span>
<span style="white-space: pre;"> at the end of words.<br></span>
<span> <br></span>
<span> '<b>t</b>' - to toggle between translation and transliteration.<br></span>
</div>
<div id="search-container">
<input class="search" id="search" autocomplete="off"></input>
</div>
<div id="filter-details-container">
</div>
<div id="findsites">
<map name="map">
<area shape="rect" coords="491, 116, 509, 130" alt="ZA" title="Zakros" />
<area shape="rect" coords="494, 104, 510, 119" alt="PK" title="Palaikastro" />
<area shape="rect" coords="466, 101, 485, 121" alt="PE" title="Petras" />
<area shape="rect" coords="383, 132, 401, 148" alt="SY" title="Syme" />
<area shape="rect" coords="371, 110, 387, 125" alt="PS" title="Pseira" />
<area shape="rect" coords="349, 87, 367, 103" alt="MA" title="Malia" />
<area shape="rect" coords="328, 105, 351, 125" alt="AR" title="AR" />
<area shape="rect" coords="306, 93, 320, 109" alt="IO" title="Iouktas" />
<area shape="rect" coords="286, 76, 305, 93" alt="KN" title="Knossos" />
<area shape="rect" coords="271, 93, 286, 109" alt="TY" title="Tylissos" />
<area shape="rect" coords="247, 139, 268, 160" alt="PH" title="Phaistos" />
<area shape="rect" coords="228, 136, 245, 152" alt="HT" title="Haghia Triada" />
<area shape="rect" coords="215, 111, 237, 127" alt="AP" title="Apodoulou" />
<area shape="rect" coords="82, 39, 104, 67" alt="KH" title="Kharnia" />
</map>
<div class="pin" id="pin-ZA" style="left: 501px; top: 101px; visibility: hidden;">📍</div>
<div class="pin" id="pin-PK" style="left: 504px; top: 89px; visibility: hidden;">📍</div>
<div class="pin" id="pin-PE" style="left: 476px; top: 85px; visibility: hidden;">📍</div>
<div class="pin" id="pin-SY" style="left: 393px; top: 115px; visibility: hidden;">📍</div>
<div class="pin" id="pin-PS" style="left: 381px; top: 95px; visibility: hidden;">📍</div>
<div class="pin" id="pin-MA" style="left: 359px; top: 62px; visibility: hidden;">📍</div>
<div class="pin" id="pin-AR" style="left: 338px; top: 90px; visibility: hidden;">📍</div>
<div class="pin" id="pin-IO" style="left: 316px; top: 75px; visibility: hidden;">📍</div>
<div class="pin" id="pin-KN" style="left: 296px; top: 60px; visibility: hidden;">📍</div>
<div class="pin" id="pin-TY" style="left: 281px; top: 80px; visibility: hidden;">📍</div>
<div class="pin" id="pin-PH" style="left: 257px; top: 125px; visibility: hidden;">📍</div>
<div class="pin" id="pin-HT" style="left: 238px; top: 121px; visibility: hidden;">📍</div>
<div class="pin" id="pin-AP" style="left: 225px; top: 95px; visibility: hidden;">📍</div>
<div class="pin" id="pin-KH" style="left: 92px; top: 25px; visibility: hidden;">📍</div>
</div>
<div class="bottom-console">
<div id="filters-container" class="filters-container">
<div class="filter-command-container" style="display:none">
<div class="filter-command" id="wordtags-command">W</div>
<div class="filter-label">Word Types</div>
</div>
<div class="filter-command-container">
<div class="filter-command" id="contexts-command">⧖</div>
<div class="filter-label">Contexts</div>
</div>
<div class="filter-command-container" style="display:none">
<div class="filter-command" id="tags-command">𐘝</div>
<div class="filter-label">Tags</div>
</div>
<div class="filter-command-container">
<div class="filter-command" id="scribes-command">𐙇</div>
<div class="filter-label">Scribes</div>
</div>
<!---
<div class="filter-command-container">
<div class="filter-command" id="word-command" onclick="sendKey(event, 'w')">📈</div>
<div class="filter-label">Frequency</div>
</div>
-->
<div class="filter-command-container">
<div class="filter-command" id="findspots-command">⌂</div>
<div class="filter-label">Findspots</div>
</div>
<!---
<div class="filter-command-container">
<div class="filter-command" style="position:relative" id="translate-command" onclick="sendKey(event, 't')">
<span style="position: absolute; top: -10%; left: 25%;">𐘇</span>
<span style="position: absolute; bottom: -10%; right: 25%;">A</span>
</div>
<div class="filter-label">Translate</div>
</div>
-->
<div class="filter-command-container">
<div class="filter-command" id="search-command">🔍</div>
<div class="filter-label">Search</div>
</div>
<div class="filter-command-container">
<div class="filter-command" id="help-command">?</div>
<div class="filter-label">Help</div>
</div>
<div class="filter-command-container">
<div class="navigation-command"
onclick="window.location.href = 'charts/'">🗏</div>
<div class="filter-label">Charts</div>
</div>
<div class="filter-command-container" style="display:none">
<div class="navigation-command"
onclick="window.location.href = 'network/'">🖧</div>
<div class="filter-label">Network</div>
</div>
<div class="filter-command-container">
<div class="filter-command" id="clear-command">🗙</div>
<div class="filter-label">Clear</div>
</div>
</div>
</div>
<script src="html2canvas.min.js"></script>
<script src="LinearBInscriptions.js"></script>
<script src="annotations.js"></script>
<script src="lexicon.js"></script>
<script src="tags.js"></script>
<script src="imagemaps.js"></script>
<script src="grapheme.js"></script>
<script src="utils.js"></script>
<script src="DocumentsInMycenaeanGreek.js"></script>
<script src="CompanionToLinearBVol1.js"></script>
<script src="CompanionToLinearBVol2.js"></script>
<script src="LinearBAnIntroduction.js"></script>
<script src="explorer.js"></script>