-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathbandsP3.html
More file actions
221 lines (200 loc) · 7.46 KB
/
Copy pathbandsP3.html
File metadata and controls
221 lines (200 loc) · 7.46 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
<!DOCTYPE html>
<html>
<head>
<link rel = "stylesheet" title = "basic style" type = "text/css" href = "./backbone.css" media = "all"/>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1">
<meta name="description" content="">
<meta name="author" content="">
<title>Jam On!</title>
<!-- Bootstrap Core CSS -->
<link href="css/bootstrap.min.css" rel="stylesheet">
<!-- Custom CSS -->
<link href="css/full-slider.css" rel="stylesheet">
<!-- HTML5 Shim and Respond.js IE8 support of HTML5 elements and media queries -->
<!-- WARNING: Respond.js doesn't work if you view the page via file:// -->
<!--[if lt IE 9]>
<script src="https://oss.maxcdn.com/libs/html5shiv/3.7.0/html5shiv.js"></script>
<script src="https://oss.maxcdn.com/libs/respond.js/1.4.2/respond.min.js"></script>
<![endif]-->
<title>Jam On!</title>
<style type="text/css">
h2 a:link, h2 a:visited {
color: powderblue;
}
h2 a:hover, h2 a:active {
color: #1fdba9;
text-decoration: none;
}
</style>
</head>
<body>
<!-- Navigation -->
<nav class="navbar navbar-inverse navbar-fixed-top" role="navigation">
<div class="container">
<!-- Brand and toggle get grouped for better mobile display -->
<div class="navbar-header">
<button type="button" class="navbar-toggle" data-toggle="collapse" data-target="#bs-example-navbar-collapse-1">
<span class="sr-only">Toggle navigation</span>
<span class="icon-bar"></span>
<span class="icon-bar"></span>
<span class="icon-bar"></span>
</button>
<a class="navbar-brand" style="font-size: 4em" href="index.html">Jam Austin</a>
</div>
<!-- Collect the nav links, forms, and other content for toggling -->
<div class="collapse navbar-collapse" id="bs-example-navbar-collapse-1">
<ul class="nav navbar-nav" style= "width:302px; background-color:#222222; border:none;">
<li>
<a href="about.html">About</a>
</li>
<li>
<a href="./bands.html">Bands</a>
</li>
<li>
<a href="./venues.html">Venues</a>
</li>
<li>
<a href="./festivals.html">Festivals</a>
</li>
</ul>
</div>
<!-- /.navbar-collapse -->
</div>
<!-- /.container -->
</nav>
<div class = "description">
<body>
<br>
<br>
<br>
<br>
<div class= "tables">
<h2>Bands</h2>
<table style="width:100%" id="myTable">
<col width="130">
<col width="130">
<col width="130">
<col width="130">
<col width="130">
<tr background-color: #4CAF50>
<th bgcolor= "#C0C0C0", style="width:15%" onclick="sortTable(0)">Band</th>
<th bgcolor= "#C0C0C0", style="width:20%" onclick="sortTable(1)">Members</th>
<th bgcolor= "#C0C0C0", style="width:15%" onclick="sortTable(2)">Year Started</th>
<th bgcolor= "#C0C0C0", style="width:20%" onclick="sortTable(3)">Labels</th>
<th bgcolor= "#C0C0C0", style="width:15%" onclick="sortTable(4)">Website</th>
<th bgcolor= "#C0C0C0", style="width:15%" onclick="sortTable(5)">Top Hits</th>
</tr>
<tr>
<td><a href="biofolder/bio_dayeater.html">DAYEATER</a></td>
<td>Jesse Lee<br>
Christopher<br>
Landry Jackson<br></td>
<td>2014</td>
<td>Independent</td>
<td><a href="http://www.dayeaterband.com/">Official Website<a/></td>
<td>"Heavy Freedom"</td>
</tr>
<tr>
<td><a href="biofolder/bio_pinko.html">P I N K O</a></td>
<td>Alex Mendez<br>
Jared Flores<br>
Ethan Campa<br>
</td>
<td>2014</td>
<td>The Ghost Is Clear Records</td>
<td><a href="https://pinkosanantonio.bandcamp.com/">Official Website<a/></td>
<td>"SAMO isn't Dead"</td>
</tr>
<tr>
<td><a href="biofolder/bio_machete.html">We'll Go Machete</a></td>
<td>Rachel Fuhrer<br>
Chris May<br>
Paul Warner<br>
</td>
<td>2009</td>
<td>Cedar Fever / Stressed Sumo</td>
<td><a href="http://gomachete.com/">Official Website</a></td>
<td>"Absence"</td>
</tr>
</table>
</div>
</div>
<br>
<br>
</div>
<div style="margin-top: 1.75%; margin-left: 10%; color: black", class="well">
<p><i>Click the title of each column to sort alphabetically</i></p>
<p style="font-size: .7em"><i>Clicking once will sort A-Z, clicking twice will sort Z-A</i></p>
</div>
<div class="container" style="margin-top:379px; margin-left:173px ">
<ul class="pagination" style="width:102px;">
<li><a href="bands.html">1</a></li>
<li><a href="bandsP2.html">2</a></li>
<li class="active"><a href="#">3</a></li>
</ul>
</div>
<!-- /.container -->
<!-- jQuery -->
<script src="js/jquery.js"></script>
<!-- Bootstrap Core JavaScript -->
<script src="js/bootstrap.min.js"></script>
<script>
function sortTable(n) {
var table, rows, switching, i, x, y, shouldSwitch, dir, switchcount = 0;
table = document.getElementById("myTable");
switching = true;
//Set the sorting direction to ascending:
dir = "asc";
/*Make a loop that will continue until
no switching has been done:*/
while (switching) {
//start by saying: no switching is done:
switching = false;
rows = table.getElementsByTagName("TR");
/*Loop through all table rows (except the
first, which contains table headers):*/
for (i = 1; i < (rows.length - 1); i++) {
//start by saying there should be no switching:
shouldSwitch = false;
/*Get the two elements you want to compare,
one from current row and one from the next:*/
x = rows[i].getElementsByTagName("TD")[n];
y = rows[i + 1].getElementsByTagName("TD")[n];
/*check if the two rows should switch place,
based on the direction, asc or desc:*/
if (dir == "asc") {
if (x.innerHTML.toLowerCase() > y.innerHTML.toLowerCase()) {
//if so, mark as a switch and break the loop:
shouldSwitch= true;
break;
}
} else if (dir == "desc") {
if (x.innerHTML.toLowerCase() < y.innerHTML.toLowerCase()) {
//if so, mark as a switch and break the loop:
shouldSwitch= true;
break;
}
}
}
if (shouldSwitch) {
/*If a switch has been marked, make the switch
and mark that a switch has been done:*/
rows[i].parentNode.insertBefore(rows[i + 1], rows[i]);
switching = true;
//Each time a switch is done, increase this count by 1:
switchcount ++;
} else {
/*If no switching has been done AND the direction is "asc",
set the direction to "desc" and run the while loop again.*/
if (switchcount == 0 && dir == "asc") {
dir = "desc";
switching = true;
}
}
}
}
</script>
</body>
</html>