This repository has been archived by the owner on Dec 13, 2019. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 1
/
index.html
executable file
·360 lines (276 loc) · 11.8 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
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
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" >
<head>
<meta charset="utf-8" />
<title>KQED, Olympics 2014 California Athletes</title>
<!--[if lt IE 9]><script src="http://html5shim.googlecode.com/svn/trunk/html5.js"></script><![endif]-->
<link rel="stylesheet" href="css/style.css" />
<!-- scripts at bottom of page -->
</head>
<body>
<ul id="topnav" >
<li class="nav-logo"><a href="http://www.kqed.org" target="_blank">KQED</a></li>
<li class="nav-news"><a href="http://www.kqed.org/news" target="_blank">News</a></li>
<li class="nav-radio"><a href="http://www.kqed.org/radio" target="_blank">Radio</a></li>
<li class="nav-tv"><a href="http://www.kqed.org/tv" target="_blank">TV</a></li>
<li class="nav-education"><a href="http://www.kqed.org/education" target="_blank">Education</a></li>
<li class="nav-arts"><a href="http://www.kqed.org/arts" target="_blank">Arts</a></li>
<li class="nav-food"><a href="http://www.kqed.org/food" target="_blank">Food</a></li>
<li class="nav-science"><a href="http://www.kqed.org/science" target="_blank">Science</a></li>
<li class="nav-donate"><a href="http://www.kqed.org/donate" target="_blank">Donate</a></li>
</ul>
<section class="sharebar">
<ul class="cfix">
<li><label>Share:</label></li>
<li class="fb">
<div id="fb-root"></div>
<script>(function(d, s, id) {
var js, fjs = d.getElementsByTagName(s)[0];
if (d.getElementById(id)) return;
js = d.createElement(s); js.id = id;
js.src = "//connect.facebook.net/en_US/all.js#xfbml=1&appId=113036208709890";
fjs.parentNode.insertBefore(js, fjs);
}(document, 'script', 'facebook-jssdk'));</script>
<div class="fb-share-button" data-href="http://projects1.kqed.org/olympics2014/index.html" data-type="button"></div>
</li>
<li class="twitter">
<a href="https://twitter.com/share" class="twitter-share-button" data-lang="en" data-count="none">Tweet</a>
<script>!function(d,s,id){var js,fjs=d.getElementsByTagName(s)[0];if(!d.getElementById(id)){js=d.createElement(s);js.id=id;js.src="https://platform.twitter.com/widgets.js";fjs.parentNode.insertBefore(js,fjs);}}(document,"script","twitter-wjs");</script>
</li>
<li class="gplus">
<div class="g-plusone" data-size="medium" data-annotation="none"></div>
<script type="text/javascript">
(function() {
var po = document.createElement('script'); po.type = 'text/javascript'; po.async = true;
po.src = 'https://apis.google.com/js/platform.js';
var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(po, s);
})();
</script>
</li>
<li class="pinterest">
<a href="//www.pinterest.com/pin/create/button/?url=http%3A%2F%2Fprojects1.kqed.org%2Folympics2014%2Findex.html&media=http%3A%2F%2Ffarm8.staticflickr.com%2F7027%2F6851755809_df5b2051c9_z.jpg&description=Next%20stop%3A%20Pinterest" data-pin-do="buttonPin" data-pin-config="none"><img src="//assets.pinterest.com/images/pidgets/pinit_fg_en_rect_gray_20.png" /></a>
<script type="text/javascript" async src="//assets.pinterest.com/js/pinit.js"></script>
</li>
</ul>
</section>
<h1 id="mainbar">Olympics 2014: California Athletes | <a href="social.html">Social in Sochi</a> </h1>
<section id="options" class="clearfix">
<ul id="filters" class="option-set clearfix" data-option-key="filter">
<li><a href="#filter" data-option-value="*" class="selected">Show All</a></li>
<li><a href="#filter" data-option-value=".snow">Snowboarding</a></li>
<li><a href="#filter" data-option-value=".ski">Skiing</a></li>
<li><a href="#filter" data-option-value=".hockey">Ice Hockey</a></li>
<li><a href="#filter" data-option-value=".bobsled">Bobsled</a></li>
<li><a href="#filter" data-option-value=".skate">Figure Skating</a></li>
<li><a href="#filter" data-option-value=".luge">Luge</a></li>
<li><a href="#filter" data-option-value=".spskate">Speed Skating</a></li>
</ul>
</section>
<div id="container" width="600">
<div class="element snow">
<a href="athletes/anderson.html"><img src="imgs/anderson.jpg" /></a>
<h2 class="name"><a href="athletes/anderson.html">Jamie Anderson</a></h2>
Snowboarding: Slopestyle
</div>
<div class="element ski">
<a href="athletes/bowman.html"><img src="imgs/bowman.jpg" /></a>
<h2 class="name"><a href="athletes/bowman.html">Maddie Bowman</a></h2>
Skiing, Freestyle: Halfpipe
</div>
<div class="element snow">
<a href="athletes/bretz.html"><img src="imgs/bretz.jpg" /></a>
<h2 class="name"><a href="athletes/bretz.html">Greg Bretz</a></h2>
Snowboarding: Halfpipe
</div>
<div class="element hockey">
<a href="athletes/brown.html"><img src="imgs/brown.jpg" /></a>
<h2 class="name"><a href="athletes/brown.html">Dustin Brown</a></h2>
Ice Hockey: Men's
</div>
<div class="element bobsled">
<a href="athletes/butner.html"><img src="imgs/butner.jpg" /></a>
<h2 class="name"><a href="athletes/butner.html">Cory Butner</a></h2>
Bobsled: 2-man
</div>
<div class="element skate">
<a href="athletes/chock.html"><img src="imgs/chock.jpg" /></a>
<h2 class="name"><a href="athletes/chock.html">Madison Chock</a></h2>
Figure Skating: Ice Dancing
</div>
<div class="element snow">
<a href="athletes/clark.html"><img src="imgs/clark.jpg" /></a>
<h2 class="name"><a href="athletes/clark.html">Kelly Clark</a></h2>
Snowboarding: Halfpipe
</div>
<div class="element ski">
<a href="athletes/cook.html"><img src="imgs/cook.jpg" /></a>
<h2 class="name"><a href="athletes/cook.html">Stacey Cook</a></h2>
Skiing, Alpine: Downhill, Super G, Super Combined
</div>
<div class="element bobsled">
<a href="athletes/cunningham.html"><img src="imgs/cunningham.jpg" /></a>
<h2 class="name"><a href="athletes/cunningham.html">Nick Cunningham</a></h2>
Bobsled: 2-man and 4-man
</div>
<div class="element snow">
<a href="athletes/davis.html"><img src="imgs/davis.jpg" /></a>
<h2 class="name"><a href="athletes/davis.html">Danny Davis</a></h2>
Snowboarding: Halfpipe
</div>
<div class="element skate">
<a href="athletes/edmunds.html"><img src="imgs/edmunds.jpg" /></a>
<h2 class="name"><a href="athletes/edmunds.html">Polina Edmunds</a></h2>
Figure Skating: Ladies
</div>
<div class="element hockey">
<a href="athletes/fowler.html"><img src="imgs/fowler.jpg" /></a>
<h2 class="name"><a href="athletes/fowler.html">Cam Fowler</a></h2>
Ice Hockey: Men's
</div>
<div class="element ski">
<a href="athletes/ganong.html"><img src="imgs/ganong.jpg" /></a>
<h2 class="name"><a href="athletes/ganong.html">Travis Ganong</a></h2>
Skiing, Alpine: Downhill, Super G
</div>
<div class="element skate">
<a href="athletes/gold.html"><img src="imgs/gold.jpg" /></a>
<h2 class="name"><a href="athletes/gold.html">Gracie Gold</a></h2>
Figure Skating: Ladies
</div>
<div class="element snow">
<a href="athletes/guldemond.html"><img src="imgs/guldemond.jpg" /></a>
<h2 class="name"><a href="athletes/guldemond.html">Chas Guldemond</a></h2>
Snowboarding: Slopestyle
</div>
<div class="element luge">
<a href="athletes/hansen.html"><img src="imgs/hansen.jpg" /></a>
<h2 class="name"><a href="athletes/hansen.html">Kate Hansen</a></h2>
Luge: Singles
</div>
<div class="element snow">
<a href="athletes/holland.html"><img src="imgs/holland.jpg" /></a>
<h2 class="name"><a href="athletes/holland.html">Nate Holland</a></h2>
Snowboarding: Snowboardcross
</div>
<div class="element snow">
<a href="athletes/jacob.html"><img src="imgs/jacob.jpg" /></a>
<h2 class="name"><a href="athletes/jacob.html">Trevor Jacob</a></h2>
Snowboarding: Snowboardcross
</div>
<div class="element ski">
<a href="athletes/mancuso.html"><img src="imgs/mancuso.jpg" /></a>
<h2 class="name"><a href="athletes/mancuso.html">Julia Mancuso</a></h2>
Skiing, Alpine: Downhill, Super G, Giant Slalom, Super Combined, Slalom
</div>
<div class="element ski">
<a href="athletes/miller.html"><img src="imgs/miller.jpg" /></a>
<h2 class="name"><a href="athletes/miller.html">Bode Miller</a></h2>
Skiing, Alpine: Downhill, Super G, Giant Slalom, Super Combined
</div>
<div class="element hockey">
<a href="athletes/pavelski.html"><img src="imgs/pavelski.jpg" /></a>
<h2 class="name"><a href="athletes/pavelski.html">Joe Pavelski</a></h2>
Ice Hockey: Men's
</div>
<div class="element hockey">
<a href="athletes/quick.html"><img src="imgs/quick.jpg" /></a>
<h2 class="name"><a href="athletes/quick.html">Jonathan Quick</a></h2>
Ice Hockey: Men's
</div>
<div class="element ski">
<a href="athletes/sigourney.html"><img src="imgs/sigourney.jpg" /></a>
<h2 class="name"><a href="athletes/sigourney.html">Brita Sigourney</a></h2>
Skiing, Freestyle: Halfpipe
</div>
<div class="element snow">
<a href="athletes/stassel.html"><img src="imgs/stassel.jpg" /></a>
<h2 class="name"><a href="athletes/stassel.html">Ryan Stassel</a></h2>
Snowboarding: Slopestyle
</div>
<div class="element ski">
<a href="athletes/sullivan.html"><img src="imgs/sullivan.jpg" /></a>
<h2 class="name"><a href="athletes/sullivan.html">Marco Sullivan</a></h2>
Skiing, Alpine: Downhill, Super G
</div>
<div class="element ski">
<a href="athletes/teller.html"><img src="imgs/teller.jpg" /></a>
<h2 class="name"><a href="athletes/teller.html">John Teller</a></h2>
Skiing, Freestyle: Skicross
</div>
<div class="element snow">
<a href="athletes/teter.html"><img src="imgs/teter.jpg" /></a>
<h2 class="name"><a href="athletes/teter.html">Hannah Teter</a></h2>
Snowboarding: Halfpipe
</div>
<div class="element skate">
<a href="athletes/wagner.html"><img src="imgs/wagner.jpg" /></a>
<h2 class="name"><a href="athletes/wagner.html">Ashley Wagner</a></h2>
Figure Skating: Ladies
</div>
<div class="element snow">
<a href="athletes/white.html"><img src="imgs/white.jpg" /></a>
<h2 class="name"><a href="athletes/white.html">Shaun White</a></h2>
Snowboarding: Halfpipe
</div>
<div class="element spskate">
<a href="athletes/whitmore.html"><img src="imgs/whitmore.jpg" /></a>
<h2 class="name"><a href="athletes/whitmore.html">Mitchell Whitmore</a></h2>
Speedskating, Long Track: 500 m
</div>
<div class="element ski">
<a href="athletes/wise.html"><img src="imgs/wise.jpg" /></a>
<h2 class="name"><a href="athletes/wise.html">David Wise</a></h2>
Skiing, Freestyle: Halfpipe
</div>
</div> <!-- #container -->
</section>
<script src="js/jquery-1.7.1.min.js"></script>
<script src="jquery.isotope.min.js"></script>
<script>
$(function(){
var $container = $('#container');
$container.isotope({
itemSelector : '.element',
getSortData : {
name : function ( $elem ) {
return $elem.find('.name').text();
}
}
});
var $optionSets = $('#options .option-set'),
$optionLinks = $optionSets.find('a');
$optionLinks.click(function(){
var $this = $(this);
// don't proceed if already selected
if ( $this.hasClass('selected') ) {
return false;
}
var $optionSet = $this.parents('.option-set');
$optionSet.find('.selected').removeClass('selected');
$this.addClass('selected');
// make option object dynamically, i.e. { filter: '.my-filter-class' }
var options = {},
key = $optionSet.attr('data-option-key'),
value = $this.attr('data-option-value');
// parse 'false' as false boolean
value = value === 'false' ? false : value;
options[ key ] = value;
if ( key === 'layoutMode' && typeof changeLayoutMode === 'function' ) {
// changes in layout modes need extra logic
changeLayoutMode( $this, options )
} else {
// otherwise, apply new options
$container.isotope( options );
}
return false;
});
});
var $container = $('#container');
$container.imagesLoaded( function(){
$container.isotope({
// options...
});
});
</script>
</body>
</html>