-
Notifications
You must be signed in to change notification settings - Fork 5
Expand file tree
/
Copy pathindex.html
More file actions
263 lines (249 loc) · 7.94 KB
/
index.html
File metadata and controls
263 lines (249 loc) · 7.94 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
250
251
252
253
254
255
256
257
258
259
260
261
262
263
<html>
<head>
<title>What's happening right now - Groundstream.org</title>
<meta name="viewport" content="width=device-width, initial-scale=1.0"/>
<script type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/jquery/1.5.1/jquery.min.js"></script>
<script type="text/javascript" src="http://maps.google.com/maps/api/js?sensor=false"></script>
<script type="text/javascript" src="groundstream.js"></script>
<!--<script type="text/javascript" src="masonry.min.js"></script>-->
<script type="text/javascript" src="jquery.imagesloaded.js"></script>
<style type="text/css">
@import url("style.css");
</style>
<script type="text/javascript">
$(function() {
$("#top").addClass("opacity");
$("#bottom").addClass("opacity");
groundstream();
// landing screen search box
$("#woof2").keyup(function(event) {
if(event.keyCode == 13) {
// return key
var place = $("#woof2").val();
groundstream_run(place);
}
});
// landing screen search button
$("#splash-search-button").click(function() {
var place = $("#woof2").val();
groundstream_run(place);
});
});
// Any formatting once the thumbnails are rendered.
function groundstream_done() {
return;
}
function groundstream_ui_show() {
$("#top").removeClass("opacity");
$("#bottom").removeClass("opacity");
}
// called to load a location from a ui element
function ui_load_town(_this) {
groundstream_load_town(_this);
groundstream_ui_analytics($(_this).html());
}
// keep track of various towns seen
function groundstream_ui_analytics(place) {
if(_gaq) {
_gaq.push(['_trackEvent', 'Stream', 'Load', place]);
}
}
</script>
</head>
<body>
<div id="top">
<div class="cell cell-1">
<img id="logo" src="earth.png" alt="Groundstream">
</div>
<div class="cell cell-2">
<input id="woof" type="text" title="location" value="Tokyo" class="textfield" />
</div>
<div class="cell cell-3">
<ul class="inline">
<li>
<b><a href="##sandy" onClick="ui_load_town(this)">hurricane #sandy</a></b>
</li>
<li>
<a href="#new-york-ny" onClick="ui_load_town(this)">new york</a>
</li>
<li>
<a href="#washington-dc" onClick="ui_load_town(this)">washington dc</a>
</li>
<li>
<a href="#boston" onClick="ui_load_town(this)">boston</a>
</li>
<li>
<a href="#atlantic-city" onClick="ui_load_town(this)">atlantic city</a>
</li>
<li>
<a href="#newark-de" onClick="ui_load_town(this)">newark</a>
</li>
</ul>
<!--
<ul class="inline">
<li>
<a href="#san-francisco" onClick="ui_load_town(this)">san francisco</a>
</li>
<li>
<a href="#boise" onClick="ui_load_town(this)">boise</a>
</li>
<li>
<a href="#new-orleans" onClick="ui_load_town(this)">new orleans</a>
</li>
<li>
<a href="#paris" onClick="ui_load_town(this)">paris</a>
</li>
<li>
<a href="#mexico-city" onClick="ui_load_town(this)">mexico city</a>
</li>
<li>
<a href="#bangkok" onClick="ui_load_town(this)">bangkok</a>
</li>
</ul>
-->
<!--
<ul>
<li>
earthquake(<a href="http://earthquake.usgs.gov/earthquakes/recenteqsww/Quakes/usc0007fbh.html">?</a>):
</li>
<li>
<a href="#tokyo" onClick="ui_load_town(this)">tokyo</a>
</li>
<li>
<a href="#kochi" onClick="ui_load_town(this)">kochi</a>
</li>
<li>
<a href="#shizuoka" onClick="ui_load_town(this)">shizuoka</a>
</li>
<li>
<a href="#osaka" onClick="ui_load_town(this)">osaka</a>
</li>
<li>
<a href="#yokohama" onClick="ui_load_town(this)">yokohama</a>
</li>
</ul>
-->
</div>
</div>
<div class="clearfix"></div>
<div id="crunch">
<div id="logo-big">
<img src="groundstream.png" alt="Groundstream">
<br />live pictures from anywhere in the world
<br /><br /><span>This site consists entirely of user-generated content. Sometimes it can be NSFW / x-rated.</span>
<span style="display: block; margin-top: 30px">type a place <input id="woof2" type="text" title="location" value="New York, NY" class="textfield" /><button id="splash-search-button" type="button">go</button></span>
<ul class="inline" style="margin: 15px 0 35px 0;">
<li>
<b><a href="##sandy" onClick="ui_load_town(this)">hurricane #sandy</a></b>
</li>
<li>
<a href="#new-york-ny" onClick="ui_load_town(this)">new york</a>
</li>
<li>
<a href="#washington-dc" onClick="ui_load_town(this)">washington dc</a>
</li>
<li>
<a href="#boston" onClick="ui_load_town(this)">boston</a>
</li>
<li>
<a href="#atlantic-city" onClick="ui_load_town(this)">atlantic city</a>
</li>
<li>
<a href="#newark-de" onClick="ui_load_town(this)">newark</a>
</li>
<!-- <li>
<a href="#san-francisco" onClick="ui_load_town(this)">san francisco</a>
</li>
<li>
<a href="#boise" onClick="ui_load_town(this)">boise</a>
</li>
<li>
<a href="#new-orleans" onClick="ui_load_town(this)">new orleans</a>
</li>
<li>
<a href="#paris" onClick="ui_load_town(this)">paris</a>
</li>
<li>
<a href="#mexico-city" onClick="ui_load_town(this)">mexico city</a>
</li>
<li>
<a href="#bangkok" onClick="ui_load_town(this)">bangkok</a>
</li> -->
</ul>
</div>
</div>
<div class="clearfix"></div>
<div id="bottom">
<div class="cell cell-1">
<a href="about.html">about this website<a><br />
</div>
<div class="cell cell-4">
<ul class="inline">
<li>
<a href="#las-vegas" onClick="ui_load_town(this)">las vegas</a>
</li>
<li>
<a href="#rio-de-janeiro" onClick="ui_load_town(this)">rio de janeiro</a>
</li>
<li>
<a href="#reykjavik" onClick="ui_load_town(this)">reykjavik</a>
</li>
<li>
<a href="#prag" onClick="ui_load_town(this)">prag</a>
</li>
<li>
<a href="#amsterdam" onClick="ui_load_town(this)">amsterdam</a>
</li>
<li>
<a href="#moscow" onClick="ui_load_town(this)">moscow</a>
</li>
<li>
<a href="#bejing" onClick="ui_load_town(this)">bejing</a>
</li>
<li>
<a href="#seoul" onClick="ui_load_town(this)">seoul</a>
</li>
<li>
<a href="#mumbai" onClick="ui_load_town(this)">mumbai</a>
</li>
<li>
<a href="#jakarta" onClick="ui_load_town(this)">jakarta</a>
</li>
<li>
<a href="#karachi" onClick="ui_load_town(this)">karachi</a>
</li>
<li>
<a href="#manila" onClick="ui_load_town(this)">manila</a>
</li>
<li>
<a href="#dubai" onClick="ui_load_town(this)">dubai</a>
</li>
<li>
<a href="#istanbul" onClick="ui_load_town(this)">istanbul</a>
</li>
<li>
<a href="#singapore" onClick="ui_load_town(this)">singapore</a>
</li>
<li>
<a href="#lahore" onClick="ui_load_town(this)">lahore</a>
</li>
<li>
<a href="#hong-kong" onClick="ui_load_town(this)">hong kong</a>
</li>
</ul>
</div>
<div class="clearfix"></div>
</div>
</body>
<script type="text/javascript" src="http://platform.twitter.com/widgets.js"></script>
<script type="text/javascript">
var _gaq = _gaq || [];
_gaq.push(['_setAccount', 'UA-22359785-1']);
_gaq.push(['_trackPageview']);
(function() {
var ga = document.createElement('script'); ga.type = 'text/javascript'; ga.async = true;
ga.src = ('https:' == document.location.protocol ? 'https://ssl' : 'http://www') + '.google-analytics.com/ga.js';
var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(ga, s);
})();
</script>
</html>