-
Notifications
You must be signed in to change notification settings - Fork 16
/
page-interactive.php
87 lines (62 loc) · 3.44 KB
/
page-interactive.php
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
<?php
/**
* Description of Template goes here
*
Template Name: Interactive
*/
?>
<?php get_header(); ?>
<?php if(have_posts()) : while(have_posts()) : the_post(); ?>
<?php endwhile; endif; ?>
<!-- <div id="intro"><?php the_content(); ?></div>
<?php echo get_post_meta($post->ID, "Callout Text", true) ?>
-->
<div class="interactivetext">
<div class="itleft">
<p><strong>Use the sliders on the timeline to select a timespan</strong>, and see how growth in average income was shared between the richest 10% and the other 90% of Americans. All figures are in 2008 dollars.</p>
</div>
<div class="itright">
<!-- <span class="share-chart">Share: <a class="addthis_button" href="http://www.addthis.com/bookmark.php"><img src="http://s7.addthis.com/static/btn/sm-plus.gif" width="16" height="16" alt="Share" /></a></span>
-->
<div class="addthis_toolbox addthis_default_style">
<a href="http://addthis.com/bookmark.php?v=250" class="addthis_button_compact">Share</a>
<span class="addthis_separator"> </span>
<a class="addthis_button_facebook"></a>
<a class="addthis_button_twitter"></a>
<a class="addthis_button_email"></a>
<span class="addthis_separator"> </span>
<a class="addthis_button_facebook_like"></a>
</div>
</div>
</div>
<div id="fcontent">
<p><a href="http://www.adobe.com/go/getflashplayer"><img src="/flash/income_noflash.png" width="940" height="575" border="0" alt="This content requires the Adobe Flash Player version 9.0.115 or greater and a browser with JavaScript enabled."/>Please download the latest Adobe Flash Player now.</a></p>
</div>
<div class="interactivetext">
<div class="itleft">
<p>
<strong>Source:</strong> The data come from this table: http://www.econ.berkeley.edu/~saez/TabFig2008.xls<br />
on Emmanuel Saez’s website at University of California, Berkeley.
<a href="javascript:ReverseDisplay('uniquename')">Methodology</a></p>
<div id="uniquename" style="display:none;">
<br />
<p> <strong>Calculations:</strong>
All incomes are in 2008 dollars. Between any two years, the share of growth in average incomes accounted for by the richest 10% is 10% of the growth in the average income of the top 10% divided by the growth in the overall average income; the share of growth in average incomes accounted for by the bottom 90% is 90% of the growth in the average income of the bottom 90% divided by the growth in the overall average income. These shares are represented in the pie chart. In periods where one or more categories saw negative income growth and one or more categories saw positive income growth, the pie chart simply represents the group that saw growth, and the text provides details. In periods where every category saw income losses, the pie chart shows shares of losses, and the text provides details. </p>
</div>
</div>
<div class="itright">
</div>
</div>
<script type="text/javascript" language="JavaScript"><!--
function HideContent(d) {
document.getElementById(d).style.display = "none";
}
function ShowContent(d) {
document.getElementById(d).style.display = "block";
}
function ReverseDisplay(d) {
if(document.getElementById(d).style.display == "none") { document.getElementById(d).style.display = "block"; }
else { document.getElementById(d).style.display = "none"; }
}
//--></script>
<?php get_footer(); ?>