-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathindex.html
More file actions
249 lines (144 loc) · 8.35 KB
/
Copy pathindex.html
File metadata and controls
249 lines (144 loc) · 8.35 KB
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
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd)">
<!--[if gt IE 1]><html xmlns="http://www.w3.org/1999/xhtml" class="ie)"><![endif]--><html xmlns="http://www.w3.org/1999/xhtml" lang="en" xml:lang="en">
<head>
<meta http-equiv="X-UA-Compatible" content="IE=9; IE=8; IE=7; IE=EDGE" />
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" lang="en" />
<meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0"/>
<title>Mills of Britain web resource - National Library of Scotland / University of Glasgow / University of Wollongong</title>
<meta name="Description" content="Explore over 15,000 mill sites mapped in 18th and 19th century Britain" />
<meta name="Keywords" content="Mills, watermills, windmills, county maps, Roy Military Survey of Scotland" />
<!-- slider css -->
<link type="text/css" rel="stylesheet" href="css/viewer-bootstrap-slider.css" type="text/css">
<!-- specific css to this page -->
<link type="text/css" rel="stylesheet" href="css/maincss.css?v=20240904" media="screen" />
<!-- OpenLayers css -->
<link type="text/css" rel="stylesheet" href="css/ol.css" media="screen" />
<link rel="stylesheet" href="/assets/css/ol-ext.css" />
<style>
/* generic table styling */
table a { text-decoration: none; }
table a:hover { text-decoration: underline; }
/* tr :last-child { text-align: right; } */
/* hide content from view but not from searching */
.hidden { display: none; }
/* filter table specific styling */
//.filter-table { margin-left: 1em; font-size: 0.8em; text-decoration: none; position:absolute; top:-15px; left:10px;}
.filter-table .quick:hover { text-decoration: underline; }
td.alt { background-color: #ffc; background-color: rgba(255, 255, 0, 0.2); }
#dateIDslider.slider .tooltip.top { margin-top: 8px !important; top: -40px !important;}
#mapsslider.slider .tooltip.top { margin-top: 8px !important; top: -40px !important;}
</style>
<!--#include file="/assets/includes/gtm.stm" -->
</head>
<body>
<div id="header" role="banner">
<div id="home"><a href="https://maps.nls.uk/">Maps home</a> </div>
<div id="headertitle">
<h1>Mills of Britain</h1>
</div>
<div id="headerlinks">
<ul id="URHere" role="main"><li><strong>Map</strong> </li><li> <a href="background/">Background</a> </li><li> <a href="project/">Project</a> </li><li> <a href="explore/">Explore More</a> </li></ul>
</div>
</div>
<div id="logo">
<a href="https://www.leverhulme.ac.uk/"><img id="leverhulme" src="img/Leverhulme_Trust_RGB_blue_0_0.png" alt="Leverhulme Trust" /></a>
<a href="https://www.uow.edu.au/"><img id="wol" src="img/wollongong.jpg" alt="University of Wollongong" /></a>
<a href="https://www.nls.uk/"><img id="nls" src="img/nls-logo.jpg" alt="National Library of Scotland" /></a>
<a href="https://www.gla.ac.uk/"><img id="gla" src="img/marque.svg" alt="University of Glasgow" /></a>
</div>
<div id="map" class="map">
<!-- <div id="scalebar"></div> -->
<div id="loading_results"></div>
<div id="showCoordinatesinfo" class="hidden"></div>
</div>
<div id="zoom_statement"></div>
<div id="resultsSideBar">
<div id="resultsheader"></div>
<div id="results"></div>
</div>
<div id="explorelinks"><button type="button" id="hidelinks" class="close" >
<span >×</span>
</button>
Links from this map view to:<ul><li><a href="javascript:gotoexplore()">Georeferenced Maps</a> or <a href="javascript:gotosidebyside()">Side-by-side</a> viewers</li>
</ul>
Links from the centre of the screen to:
<ul>
<li><a href="javascript:get25inch()">25 inch sheets covering this place</a></li>
<li><a href="javascript:get6inch()">6 inch sheets covering this place</a></li></ul>
</div>
<div id="showmaplocationinfo"></div>
<div id="sidebar">
<button type="button" id="hide" class="close" >
<span >×</span>
</button>
<h3>Filter mills</h3>
<table><tr><td style="white-space: nowrap;">Filter by <strong>Date of Survey</strong>:</td><td>
<!-- <div id = "daterange"></div> -->
<input id="dateslider" data-slider-id='dateIDslider' type="text" data-slider-min="1720" data-slider-max="1850" data-slider-value="[0,0]" title="Filter the mills by date range"/>
</td</tr></table>
<table><tr><td>Filter by <strong>Mill Type by map Symbol</strong>:</td><td>
<select id="millsymbolselect" onchange="javascript:changesymboltype(this.selectedIndex);"></select></td</tr></table>
<table><tr><td>Filter by <strong>Mill Type by map text</strong>:</td><td>
<form><select id="milltypeselect" onchange="javascript:changemilltype(this.selectedIndex);"></select></form></td</tr></table>
<label for="onlyshow425" style="background-color: #eee;padding: 3px;margin:6px 0 6px 0;display:block"> Exclude mills farther than:<br/>
<input id="onlyshow425" type="checkbox"/> 425 metres of river? <br/>
<input id="onlyshow275" type="checkbox"/> 275 metres of river? </label>
<hr2></hr2>
<h3>Change map</h3>
<div id="circle-building" class="circle"></div>Regions unlikely to host mills<br/>(>300 metres; Peat-, moor- and fenland)<br/>- change transparency:
<input id="mapslider" data-slider-id='mapsslider' type="text" data-slider-min="10" data-slider-max="100" data-slider-step="1" data-slider-value="100" title="Change transparency of boxes" />
<br/>
<h3>Background map layer</h3>
<form><select id="layerSelect" onchange="changemap(this.selectedIndex,16)"></select></form>
<hr2></hr2>
<div id = "filteredFeaturesTotal"></div>
<div id = "filteredFeaturesInMap"></div>
</div>
<button id="show">Show Filter Panel</button>
<button id="showlinks">Show Links</button>
<!-- JQuery Javascript -->
<script type="text/javascript" src="https://ajax.googleapis.com/ajax/libs/jquery/1.10.2/jquery.min.js"></script>
<!-- Bootstrap slider Javascript -->
<script type="text/javascript" src="https://cdnjs.cloudflare.com/ajax/libs/bootstrap-slider/11.0.2/bootstrap-slider.js"></script>
<script type="text/javascript" src="/geo/scripts/bootstrap-slider-ol6.js" type="text/javascript"></script>
<!-- proj4 Javascript for projection information -->
<script src="https://cdnjs.cloudflare.com/ajax/libs/proj4js/2.5.0/proj4.js"></script>
<!-- OpenLayers Javascript - use ol-debug.js for debugging and ol.js for releasing when finished -->
<script type="text/javascript" src="scripts/ol_6_15_1.js"></script>
<!-- Our specific Javascript for this map -->
<script type="text/javascript" src="scripts/index.js?v=20240804"></script>
<script type="text/javascript">
$(document).ready(function(){
$("#myInput").on("keyup", function() {
var value = $(this).val().toLowerCase();
$("#mills-table tr").filter(function() {
$(this).toggle($(this).text().toLowerCase().indexOf(value) > -1)
});
});
});
$(document).ready(function() {
$("#showCoordinatesinfo").removeClass("hidden");
});
jQuery("#show").hide();
jQuery("#showlinks").hide();
jQuery("#showmaplocationinfo").hide();
jQuery("#hide").click(function(){
jQuery("#sidebar").hide();
jQuery("#show").show();
});
jQuery("#hidelinks").click(function(){
jQuery("#explorelinks").hide();
jQuery("#showlinks").show();
});
jQuery("#showlinks").click(function(){
jQuery("#explorelinks").show();
jQuery("#showlinks").hide();
});
jQuery("#show").click(function(){
jQuery("#sidebar").show();
jQuery("#show").hide();
});
</script>
<!--#include file="/assets/includes/gahelper.stm" -->
</body>
</html>