-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
executable file
·393 lines (331 loc) · 13.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
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
<!doctype html>
<!--[if lt IE 7]> <html class="no-js ie6 oldie" lang="en"> <![endif]-->
<!--[if IE 7]> <html class="no-js ie7 oldie" lang="en"> <![endif]-->
<!--[if IE 8]> <html class="no-js ie8 oldie" lang="en"> <![endif]-->
<!--[if gt IE 8]><!--> <html class="no-js" lang="en"> <!--<![endif]-->
<head>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1"/>
<title>StateImpact Pennsylvania | Does Every Boom Have a Bust?</title>
<script type="text/javascript">var _sf_startpt=(new Date()).getTime()</script>
<meta name="description" content="How does a natural gas boom do to a small town? See and hear how businesses, crime trends and relationships were forever changed in Towanda, Pennsylvania.">
<meta name="author" content="NPR">
<meta property="og:title" content="BoomTown">
<meta property="og:type" content="article">
<meta property="og:url" content="http://stateimpact.npr.org/pennsylvania/boomtown/">
<meta property="og:image" content="http://stateimpact.npr.org/pennsylvania/boomtown/img/flower-bridge.jpg">
<meta property="og:site_name" content="NPR">
<meta property="fb:admins" content="10217706">
<meta property="og:description" content="What does a flurry of natural gas drilling do to a small town? See and hear how businesses, crime trends and relationships were forever changed as the Norman Rockwell painting went bye-bye in Towanda, Pennsylvania.">
<meta name="viewport" content="width=device-width,initial-scale=1">
<link rel="shortcut icon" href="http://stateimpact.npr.org/wp-content/themes/si-hub/img/favicon.png">
<link rel="stylesheet" href="css/style.css?ver=1">
<link rel="stylesheet" href="css/skeleton.css">
<!-- Begin JavaScript -->
<script type="text/javascript" src="http://use.typekit.com/yey2zgp.js"></script>
<script type="text/javascript">try{Typekit.load();}catch(e){}</script>
<script type="text/javascript">L_PREFER_CANVAS = true;</script>
<script src="js/libs/modernizr-2.0.6.min.js"></script>
<script src="//ajax.googleapis.com/ajax/libs/jquery/1.7.2/jquery.min.js"></script>
<script>window.jQuery || document.write('<script src="js/libs/jquery-1.7.2.min.js"><\/script>')</script>
<script src="js/libs/popcorn-complete.min.js"></script>
<script src="js/plugins.js?ver=1"></script>
<script src="js/text.js?ver=1"></script>
<script type="text/javascript">
//<![CDATA[
$(document).ready(function(){
//preload intro images
var images = [
'img/grey-map.jpg',
'img/coal.jpg',
'img/logging.jpg',
'img/intro-gas.jpg'
];
$(images).each(function() {
var image = $('<img />').attr('src', this);
});
//title screen play button
$('#title-button').click(function() {
$.smoothScroll({
speed: 800,
scrollTarget: '#chapter1',
afterScroll: function() {$("#pop-audio").jPlayer("play", 0);}
});
return false;
});
$("#feature-player a").click( function() {
$("#pop-audio").jPlayer("play", 0);
});
//jplayer
$("#pop-audio").jPlayer({
ready: function () {
$(this).jPlayer("setMedia", {
mp3: "boom123.mp3",
oga: "boom123.ogg"
}).jPlayer("pause");
},
ended: function (event) {
$(this).jPlayer("pause");
},
swfPath: "js",
supplied: "oga, mp3",
cssSelectorAncestor: "",
cssSelector: {
play: ".bt-play",
pause: ".bt-pause",
seekBar: ".bt-seek-bar",
playBar: ".bt-play-bar",
currentTime: ".bt-currentTime",
duration: ".bt-duration"
}
});
//ajax include pattern
$( "[data-after]" ).ajaxInclude( { proxy: "quickconcat.php?wrap&files=" } );
//touch slideshow
if (Modernizr.touch){
$(".carousel").addClass("slide-touch");
} else {
$(".carousel").addClass("slide-click");
}
});
//]]>
</script>
<!-- End JavaScript -->
<!--[if lte IE 8 ]>
<link rel="stylesheet" href="css/jplayer-black-and-yellow.css">
<![endif]-->
</head>
<body id="top">
<header id="global-header">
<nav>
<div class="state">
<h2><a href="http://stateimpact.npr.org">StateImpact</a></h2>
<h3><a href="http://stateimpact.npr.org/pennsylvania/">Pennsylvania</a></h3>
<p class="partnership">A reporting project of local public media and <a class="nprlogo" href="http://npr.org" title="Visit npr.org">NPR</a></p>
</div><!-- /.penn -->
</nav>
</header> <!-- global-header -->
<!-- ========================================= TITLE =================================== -->
<div id="titlecard" class="panel">
<div id="title-inner">
<a id="title-button" href="#chapter1">
<h1><b>Boom</b>Town</h1>
<h3>Five years ago, natural gas drilling came to Towanda, Pennsylvania. The town has never been the same.</h3>
<p id="title-play">
Play
<span aria-hidden="true" data-icon="▶"></span>
</p>
</a>
</div><!--/title-inner-->
</div> <!-- titlecard -->
<!-- !chapter1 -->
<div id="chapter1" class="starter">
<div class="ab-nav">
<div class="panel-player">
<h4><span class="player-title"><b>Boom</b>Town</span>
<a href="javascript:;" class="bt-play icon-alone">
<span aria-hidden="true" data-icon="▶"></span>
<span class="screen-reader-text">Play</span>
</a>
<a href="javascript:;" class="bt-pause">
<span aria-hidden="true" data-icon="⎉"></span>
<span class="screen-reader-text">Pause</span>
</a>
</h4>
<p>
<span class="bt-duration"></span>
</p>
<div class="bt-seek-bar">
<div class="bt-play-bar">
</div>
<div id="c-markers">
<p id="drill">Drill</p>
<p id="influx">Influx</p>
<p id="toll">Toll</p>
<p id="slowdown">Bust?</p>
</div>
</div><!-- /bt-seek-bar -->
</div>
<!-- audio player -->
<div id="pop-audio" class="jp-jplayer"></div>
<!-- /audio player -->
</div><!-- /ab-nav -->
<div id="feature-player">
<a href="javascript:;" class="icon-alone">
<span aria-hidden="true" data-icon="▶"></span>
<span class="screen-reader-text">Play</span>
</a>
</div>
</div><!-- /chapter1 -->
<!-- !learn -->
<div id="learn">
<div class="container">
<div id="conversation" class="eight columns">
<h2>Join the conversation</h2>
<p>How has the natural gas boom changed life near you? Join the conversation on Twitter by using the hashtag <a href="http://twitter.com/search/realtime?q=%23NPRboomtown">#NPRBoomTown</a>.</p>
<a href="https://twitter.com/share" class="twitter-share-button" data-url="http://stateimpact.npr.org/pennsylvania/boomtown/" data-hashtags="NPRBoomTown" data-dnt="true">Tweet</a>
<div id="fb">
<div class="fb-like" data-href="http://stateimpact.npr.org/pennsylvania/boomtown/" data-send="false" data-layout="button_count" data-width="300" data-show-faces="true" data-font="arial"></div>
</div><!--/FB-->
</div><!--/eight-->
<div class="eight columns">
<a class="twitter-timeline" href="https://twitter.com/search?q=%23NPRBoomTown" data-widget-id="276015814954586112">Tweets about "#NPRBoomTown"</a>
</div><!--/eight-->
<div id="photogallery" class="sixteen columns">
<h2>Explore the photos from Boomtown at your own pace and learn more about Towanda</h2>
<div class="carousel">
<div id="first-note" data-before="am.html">
<img src="img/marquee.jpg" alt="Marquee">
<p>Sales taxes collected in Bradford County jumped 61% from 2009 to 2012 - despite the recession.</p>
<span class="swipe-info">Swipe to view more photos ></span>
</div>
</div>
</div><!--/photogallery -->
<div id="oldaudio" class="sixteen columns">
<h2>Hear the Story of Boomtown</h2>
<div id="oldplayer" class="jp-jplayer"></div>
<div class="jp-audio-container">
<div class="jp-audio">
<div class="jp-type-single">
<div id="jp_interface_1" class="jp-interface">
<ul class="jp-controls">
<li><a href="#" class="jp-play" tabindex="1">play</a></li>
<li><a href="#" class="jp-pause" tabindex="1">pause</a></li>
<li><a href="#" class="jp-mute" tabindex="1">mute</a></li>
<li><a href="#" class="jp-unmute" tabindex="1">unmute</a></li>
</ul>
<div class="jp-progress-container">
<div class="jp-progress">
<div class="jp-seek-bar">
<div class="jp-play-bar"></div>
</div>
</div>
</div>
<div class="jp-volume-bar-container">
<div class="jp-volume-bar">
<div class="jp-volume-bar-value"></div>
</div>
</div>
</div>
</div>
</div>
</div>
</div><!--/oldaudio -->
<h2 id="rc" class="sixteen columns">Learn more about the natural gas boom in Pennsylvania </h2>
<div class="four columns">
<a href="http://stateimpact.npr.org/pennsylvania/2012/08/01/towandas-first-two-booms/">
<img src="img/towanda_thumb.jpg" alt="promo" class="scale-with-grid">
<p>Towanda's First Two Booms</p>
</a>
</div><!-- /four -->
<div class="four columns">
<a href="http://stateimpact.npr.org/pennsylvania/2012/12/11/towanda-by-the-numbers/">
<img src="img/towanda_numbersthumb.jpg" alt="promo" class="scale-with-grid">
<p>Towanda by the numbers</p>
</a>
</div><!-- /four -->
<div class="four columns">
<a href="http://stateimpact.npr.org/pennsylvania/2012/09/01/dry-gas-wet-gas-and-why-drilling-has-slowed-around-towanda/">
<img src="img/towanda_boomthumb.jpg" alt="promo" class="scale-with-grid">
<p>‘Dry’ Gas, ‘Wet’ Gas, and Why Drilling Has Slowed Around Towanda</p>
</a>
</div><!-- /four -->
<div class="four columns">
<a href="http://stateimpact.npr.org/pennsylvania/drilling/">
<img src="img/shale-play-thumb.png" alt="promo" class="scale-with-grid">
<p>Natural gas drilling in Pennsylvania</p>
</a>
</div><!-- /four -->
<div id="about-project" class="sixteen columns">
<h3>About this project</h3>
<p>"Boomtown" was published on 12/6/12. It was reported by StateImpact Pennsylvania’s Scott Detrow, photographed by NPR’s Becky Lettenberger. The project was produced by Wesley Lindamood, Christopher Swope, Claire O'Neill, Jessica Pupovac, Yan Lu and John Stefany.</p>
<p>Historical Towanda photos, courtesy of the <a href="http://www.bradfordhistory.com/">Bradford County Historical Society</a>. Music: “Longing For Home” by George Stehl, Marshall Lufsky and Paul Smith, "II //\\ II" by Discount Fireworks. Data on Bradford County sales tax receipts are from the Pennsylvania Department of Revenue. Data on Bradford County criminal caseload are from the Bradford County District Attorney.
</div>
</div><!-- /container -->
<footer id="footer" class="container">
<div class="boilerplate sixteen columns">
<p class="partnership">A reporting project of local public media and <a class="nprlogo" href="http://npr.org" title="Visit npr.org">NPR</a></p>
<p class="copyright">© 2012 NPR | <a href="http://www.npr.org/about/termsofuse.html">Terms Of Use</a> | <a href="http://www.npr.org/about/privacypolicy.html">Privacy Policy</a></p>
</div>
</footer><!-- /footer -->
</div><!-- /learn -->
<!--[if lte IE 8 ]>
<script src="//ajax.googleapis.com/ajax/libs/chrome-frame/1.0.2/CFInstall.min.js"></script>
<script>window.attachEvent("onload",function(){CFInstall.check({mode:"overlay"})})</script>
<script type="text/javascript">
$(document).ready(function(){
$("#oldplayer").jPlayer({
ready: function () {
$(this).jPlayer("setMedia", {
mp3: "boom123.mp3",
oga: "boom123.ogg"
}).jPlayer("pause");
},
play: function() { // To avoid both jPlayers playing together.
$(this).jPlayer("pauseOthers");
},
ended: function (event) {
$(this).jPlayer("pause");
},
swfPath: "js",
supplied: "oga, mp3",
});
});
</script>
<![endif]-->
<!-- /// LOAD CHARTBEAT /// -->
<script type="text/javascript">
var _sf_async_config={};
/** CONFIGURATION START **/
_sf_async_config.uid = 18888;
_sf_async_config.domain = "stateimpact.npr.org";
/** CONFIGURATION END **/
(function(){
function loadChartbeat() {
window._sf_endpt=(new Date()).getTime();
var e = document.createElement("script");
e.setAttribute("language", "javascript");
e.setAttribute("type", "text/javascript");
e.setAttribute("src",
(("https:" == document.location.protocol) ?
"https://a248.e.akamai.net/chartbeat.download.akamai.com/102508/" :
"http://static.chartbeat.com/") +
"js/chartbeat.js");
document.body.appendChild(e);
}
var oldonload = window.onload;
window.onload = (typeof window.onload != "function") ?
loadChartbeat : function() { oldonload(); loadChartbeat(); };
})();
</script>
<!-- /// LOAD GOOGLE ANALYTICS /// -->
<script type="text/javascript">
var _gaq = _gaq || [];
_gaq.push(['_setAccount', 'UA-516131-34']);
_gaq.push(['_trackPageview']);
_gaq.push(['_setAccount', 'UA-24211638-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);
})();
jQuery(function($) {
// window._gaq = _gaq || [];
var category = "boomtown";
$('#title-button').on('click', function(e) {
_gaq.push(['_trackEvent', category, 'play button', $(this).text(), 1, true]);
});
});
</script>
<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";
fjs.parentNode.insertBefore(js, fjs);
}(document, 'script', 'facebook-jssdk'));</script>
<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="//platform.twitter.com/widgets.js";fjs.parentNode.insertBefore(js,fjs);}}(document,"script","twitter-wjs");</script><!--/twitter-->
</body>
</html>