-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
139 lines (128 loc) · 6.9 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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Climate Web</title>
<link rel="stylesheet" href="https://fonts.googleapis.com/css2?family=Material+Symbols+Outlined:opsz,wght,FILL,GRAD@24,400,0,0&icon_names=close" /><link rel="preconnect" href="https://fonts.googleapis.com">
<link href="https://fonts.googleapis.com/css2?family=Poppins:ital,wght@0,100;0,400;0,500;0,600;0,700;0,800;0,900;1,400;1,500;1,600;1,700;1,800;1,900&family=Roboto:ital,wght@0,100;0,400;0,500;0,700;1,100;1,400;1,700;1,900&display=swap" rel="stylesheet">
<link rel="stylesheet" href="css/style.css">
<link rel="stylesheet" href="css/reference.css">
<!-- <link rel="stylesheet" href="css/theme.default.css">
<script type="text/javascript" src="js/jquery-3.7.1.js"></script>
<script type="text/javascript" src="js/jquery.tablesorter.js"></script> -->
<!-- <script type="text/javascript" src="js/jquery.tablesorter.widgets.js"></script> -->
</head>
<body>
<header>
<div class="divimage"><img src="images/earth.jpg" alt="View of earth from space" srcset=""></div>
<div class="title-block">
<h2>Climate Change and Greenhouse Gases</h2>
<p>Exploring Global and USA Climate Change</p>
</div>
<div>
<nav class="topnav">
<ul class="topnav-list">
<li class="topnav-items active" id="navlink_home" ><a href="index.html">Home</a></li>
<li class="topnav-items" onclick="loadCountry()" id="navlink_country" >CO2 By Country</li>
<li class="topnav-items" onclick="loadRenewables()" id="navlink_renewable">Renewable Energy</li>
<li class="topnav-items" onclick="loadReferences()" id="navlink_reference">References and Resources</li>
</ul>
</nav>
</div>
</header>
<section class="slidebar">
<div><span class="material-symbols-outlined" onclick="furtherInfo(0)">
close
</span></div>
<div id="topDiv" width="600px" height="400px"></div>
<div></div>
<div></div>
</section>
<section class="main">
<section class="maincontent_top">
<div class="main-left">
<h2>CO2 from Mauna Loa Time Series</h2>
<div class="chartdiv">
<canvas id="mloa_chart"></canvas>
<p class="leftinfo">Hello</p>
</div>
<button id="mloa_info" class="furtherinfo" onclick="furtherInfo(0)">Further Info</button>
</div>
<div class="main-right">
<h2>Global Temperature Anomaly Time Series</h2>
<div class="chartdiv">
<canvas id="gtemps_chart"></canvas>
<p class="rightinfo">Hello</p>
</div>
<button id="gtemps_info" class="furtherinfo" onclick="furtherInfo(1)">Further Info</button>
</div>
</section>
<section class="main-footer">
<div class="footer-left">
<form>
<label for="quantity">Start Year (between 1950 and 2020) :</label>
<input type="number" id="input_startYear" name="quantity" min="1950" max="2020" value="1980">
<input type="text" class="submitButton startYearSubmit" type="submit" value="Submit" onclick="modStartYear()">
</form>
</div>
<div class="footer-right footer-description">
<h2>Climate Change and CO2</h2>
<p>The Mauna Loa summit CO2 measurements shown on the above left illustrate the continual buildup of atmospheric CO2. CO2 is a major greenhouse component
and can be a likely cause of the global temperature warming which has been taking place and is reflected on the global temperature anomaly plot on the above right.
</p>
</div>
</section>
<section class="maincontent_bottom">
<div class="main-left">
<h2>Greenhouse Gas Composition</h2>
<div class="chartdiv piediv">
<canvas id="composition_chart"></canvas>
<p class="leftinfo">Greenhouse Gas Components and their percentages.</p>
</div>
<button id="continent_info" class="furtherinfo" onclick="furtherInfo(2)">Further Info</button>
</div>
<div class="main-right">
<h2>CO2 Emission by Continent</h2>
<div class="chartdiv">
<canvas id="continent_chart"></canvas>
<p class="rightinfo">Greenhouse gas emission time series. Current annual world emission is 35K MT, therefore
Asia comprises approximately 60% of total emissions.
</p>
</div>
<button id="country_info" class="furtherinfo" onclick="furtherInfo(3)">Further Info</button>
</div>
</section>
<!-- <section class="maincontent_lower">
<div class="main-left"></div>
<h2>CO2 from Mauna Loa Time Series</h2>
<div class="chartdiv">
<canvas id="mix_chart"></canvas>
<p class="leftinfo">Hello</p>
</div>
<button id="mix_info" class="furtherinfo" onclick="furtherInfo(0)">Further Info</button>
</div>
<div class="main-right">
<h2>Global Temperature Anomaly Time Series</h2>
<div class="chartdiv">
<canvas id="country_mix_chart"></canvas>
<p class="rightinfo">Hello</p>
</div>
<button id="country_mix_info" class="furtherinfo" onclick="furtherInfo(1)">Further Info</button>
</div>
</section> -->
</section>
<!-- <script src="https://code.jquery.com/jquery-3.7.1.min.js"></script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/jquery.tablesorter/2.31.3/js/jquery.tablesorter.min.js"></script>
<script type="text/javascript" src="https://cdn.jsdelivr.net/npm/tablesorter@2.32.0/dist/js/jquery.tablesorter.js"></script>
<script type="text/javascript" src="https://cdn.jsdelivr.net/npm/tablesorter@2.32.0/dist/js/jquery.tablesorter.widgets.js"></script> -->
<script src="https://cdnjs.cloudflare.com/ajax/libs/Chart.js/3.1.1/chart.min.js"></script>
<!-- <script src="https://cdnjs.cloudflare.com/ajax/libs/Chart.js/4.4.1/chart.min.js" referrerpolicy="no-referrer"></script> -->
<script src="js/ajax-utils.js"></script>
<script src="js/main.js"></script>
<script src="js/co2_sources.js"></script>
<script src="js/country.js"></script>
<script src="js/renewables.js"></script>
<script src="js/references.js"></script>
</body>
</html>