-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
65 lines (63 loc) · 2.3 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
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
<html xmlns="http://www.w3.org/1999/xhtml" lang="en-US" xml:lang="en-US">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
<title>Relativity Game</title>
<link rel="stylesheet" href="http://cdn.leafletjs.com/leaflet-0.7.3/leaflet.css" />
<link rel="stylesheet" href="index.css" />
<script src="http://code.jquery.com/jquery-2.1.1.min.js"></script>
<script src="http://cdn.leafletjs.com/leaflet-0.7.3/leaflet.js"></script>
</head>
<body>
<div id="map"></div>
<div id="help">
<h3>What is this?</h3>
<p>Here and now, in the Information Age, we can know about events
that happen anywhere on the globe within seconds. This wasn't always
true, though - for much of human history we relied on various slower
ways of sending information. There
are <a href="https://en.wikipedia.org/wiki/Hermes">many</a>
<a href="https://en.wikipedia.org/wiki/Lugalbanda">prominent</a>
<a href="http://en.wikipedia.org/wiki/Category:Messenger_gods">messengers</a>
in mythology.
</p>
<p>
What would you know about the outside world if messages were sent on
foot? On horseback? In a covered wagon?
</p>
<p>
Drag the blue marker to move your location. Click on the map to
see the most recent news you would be hearing about from that
location.
</p>
<p id="clicktohide">click to hide</p>
</div>
<div id="help-btn">?</div>
<div id="controls">
<select id="cities">
<option value=""></option>
<option value="Chicago">Chicago</option>
<option value="Houston">Houston</option>
<option value="Los Angeles">Los Angeles</option>
<option value="New York">New York</option>
<option value="Philadelphia">Philadelphia</option>
<option value="San Francisco">San Francisco</option>
</select>
<input id="coords"></input>
<button id="moveUser">Move me here!</button>
<button id="moveNews">Get news from here!</button>
<button id="swap">Swap</button>
<br>
<select id="speed">
<option value="16">Steady</option>
<option value="24">Strenuous</option>
<option value="30">Walking</option>
<option value="32">Grueling</option>
<option value="80">Biking</option>
<option value="175">Pony Express</option>
<option value="400">Talking drum</option>
</select> <span id="info"></span>
</div>
<script src="index.js"></script>
</body>
</html>