-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathindex.html
181 lines (147 loc) · 10 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
<!doctype html>
<html>
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<link href="https://fonts.googleapis.com/css2?family=Raleway&display=swap" rel="stylesheet">
<!-- Bootstrap CSS -->
<link rel="stylesheet" href="https://stackpath.bootstrapcdn.com/bootstrap/4.5.0/css/bootstrap.min.css" integrity="sha384-9aIt2nRpC12Uk9gS9baDl411NQApFmC26EwAOH8WgZl5MYYxFfc+NcPb1dKGj7Sk" crossorigin="anonymous">
<link rel="stylesheet" type="text/css" href="station.css">
<title>AllRadio</title>
</head>
<body>
<audio id="myTrack">
<source src="http://113fm-edge1.cdnstream.com/1728_128" type="audio/mp3"/>
</audio>
<nav class="navbar top">
<span class="spacer"></span>
<object class="navbar-brand title-name" href="#"><h1>All<span class="text-danger">Radio</span> </h1></object>
<span class="spacer"></span>
</nav>
<div style="padding-top: 3%;"></div>
<div class="container">
<div class="intro-parent">
<div class="intro">
<h1 class='main-title'>Welcome to All<span class="text-danger">Radio</span>! </h1>
<button class="Play btn btn-outline-danger btn-lg shadow-none">Click to explore</button>
</div></div>
<div class='row'>
<div class='col-md-12 text-center'>
<div class='genres btn-group' role='group' aria-label='genre buttons'>
<button id="allButton" class='hidden genre-button btn btn-outline-danger shadow-none'>All</button>
<button id="newsButton" class='hidden genre-button btn btn-outline-danger shadow-none'> News</a>
<button id="sportsButton" class='hidden genre-button btn btn-outline-danger shadow-none'>Sports</button>
<button id="musicButton" class='hidden genre-button btn btn-outline-danger shadow-none'>Music</button>
</div></div></div>
<div class='select2'>
<h3 class='select hidden'>Select a category to <br> listen to those radio stations!</h3>
</div>
<div class="row text-center text-lg-left">
<div class="col-lg-3 col-md-4 col-sm-6 cardo all music hidden">
<img id="cb1" class="img-fluid img-thumbnail" style="width: 300px;height: 250px;" src="channel_images/chouse.jpg" onclick="c1();">
</div>
<div id="cb2" class="col-lg-3 col-md-4 col-sm-6 cardo sports all hidden">
<img class="img-fluid img-thumbnail" style="width: 300px;height: 250px;" src="channel_images/espn1460.jpg" onclick="c2();">
</div>
<div id="cb3" class="col-lg-3 col-md-4 col-sm-6 cardo music all hidden" >
<img class="img-fluid img-thumbnail" style="width: 300px;height: 250px;" src="channel_images/groove.jpg" onclick="c3();">
</div>
<div id="cb4" class="col-lg-3 col-md-4 col-sm-6 cardo all sports hidden">
<img class="img-fluid img-thumbnail" style="width: 300px;height: 250px;" src="channel_images/motorsport.jpg" onclick="c4();">
</div>
<div id="cb5" class="col-lg-3 col-md-4 col-sm-6 cardo all news hidden">
<img class="img-fluid img-thumbnail" style="width: 300px;height: 250px;" src="channel_images/newstalk.jpg" onclick="c5();">
</div>
<div id="cb6" class="col-lg-3 col-md-4 col-sm-6 cardo all news hidden">
<img class="img-fluid img-thumbnail" style="width: 300px;height: 250px;" src="channel_images/bbc.jpg" onclick="c6();">
</div>
<div id="cb7" class="col-lg-3 col-md-4 col-sm-6 cardo all news hidden">
<img class="img-fluid img-thumbnail" style="width: 300px;height: 250px;" src="channel_images/brad.jpg" onclick="c7();">
</div>
<div id="cb8" class="col-lg-3 col-md-4 col-sm-6 cardo all music hidden">
<img class="img-fluid img-thumbnail" style="width: 300px;height: 250px;" src="channel_images/hitusa.jpg" onclick="c8();">
</div>
<div id="cb9" class="col-lg-3 col-md-4 col-sm-6 cardo all sports hidden">
<img class="img-fluid img-thumbnail" style="width: 300px;height: 250px;" src="channel_images/thefranchise.jpg" onclick="c9();">
</div>
<div id="cb10" class="col-lg-3 col-md-4 col-sm-6 cardo all sports hidden">
<img class="img-fluid img-thumbnail" style="width: 300px;height: 250px;" src="channel_images/allsports.jpg" onclick="c10();">
</div>
<div id="cb11" class="col-lg-3 col-md-4 col-sm-6 cardo all sports hidden">
<img class="img-fluid img-thumbnail" style="width: 300px;height: 250px;" src="channel_images/altitude.jpg" onclick="c11();">
</div>
<div id="cb12" class="col-lg-3 col-md-4 col-sm-6 cardo all sports hidden">
<img class="img-fluid img-thumbnail" style="width: 300px;height: 250px;" src="channel_images/cwn.jpg" onclick="c12();">
</div>
<div id="cb13" class="col-lg-3 col-md-4 col-sm-6 cardo all sports hidden">
<img class="img-fluid img-thumbnail" style="width: 300px;height: 250px;" src="channel_images/fcum.jpg" onclick="c13();">
</div>
<div id="cb14" class="col-lg-3 col-md-4 col-sm-6 cardo all sports hidden">
<img class="img-fluid img-thumbnail" style="width: 300px;height: 250px;" src="channel_images/knbr.jpg" onclick="c14();">
</div>
<div id="cb15" class="col-lg-3 col-md-4 col-sm-6 cardo all news hidden">
<img class="img-fluid img-thumbnail" style="width: 300px;height: 250px;" src="channel_images/patriot.jpg" onclick="c15();">
</div>
<div id="cb16" class="col-lg-3 col-md-4 col-sm-6 cardo all news hidden">
<img class="img-fluid img-thumbnail" style="width: 300px;height: 250px;" src="channel_images/kcrw.jpg" onclick="c16();">
</div>
<div id="cb17" class="col-lg-3 col-md-4 col-sm-6 cardo all news hidden">
<img class="img-fluid img-thumbnail" style="width: 300px;height: 250px;" src="channel_images/kdow.jpg" onclick="c17();">
</div>
<div id="cb18" class="col-lg-3 col-md-4 col-sm-6 cardo all news hidden">
<img class="img-fluid img-thumbnail" style="width: 300px;height: 250px;" src="channel_images/kloe.jpg" onclick="c18();">
</div>
<div id="cb19" class="col-lg-3 col-md-4 col-sm-6 cardo all news hidden">
<img class="img-fluid img-thumbnail" style="width: 300px;height: 250px;" src="channel_images/komo.jpg" onclick="c19();">
</div>
<div id="cb20" class="col-lg-3 col-md-4 col-sm-6 cardo all music hidden">
<img class="img-fluid img-thumbnail" style="width: 300px;height: 250px;" src="channel_images/newmix.png" onclick="c20();">
</div>
<div id="cb21" class="col-lg-3 col-md-4 col-sm-6 cardo all music hidden">
<img class="img-fluid img-thumbnail" style="width: 300px;height: 250px;" src="channel_images/1btn.jpg" onclick="c21();">
</div>
<div id="cb22" class="col-lg-3 col-md-4 col-sm-6 cardo all music hidden">
<img class="img-fluid img-thumbnail" style="width: 300px;height: 250px;" src="channel_images/aceradio.jpg" onclick="c22();">
</div>
<div id="cb23" class="col-lg-3 col-md-4 col-sm-6 cardo all music hidden">
<img class="img-fluid img-thumbnail" style="width: 300px;height: 250px;" src="channel_images/antenna.jpg" onclick="c23();">
</div>
<div id="cb24" class="col-lg-3 col-md-4 col-sm-6 cardo all music hidden">
<img class="img-fluid img-thumbnail" style="width: 300px;height: 250px;" src="channel_images/blurfm.jpg" onclick="c24();">
</div>
</div>
</div>
<div style="padding-bottom: 10%;"></div>
<nav class="navbar fixed-bottom bottom-nav">
<div class='row'>
<div class='col-lg-6'><div>
<div class="roundbox">
<img id="round_img" src="channel_images/chouse.jpg">
<div class="smallbox"></div>
<div class="button">
<button type="button" id="playButton"></button>
</div>
<div class="button2">
<button type="button" id="shuffleButton"></button>
</div>
</div>
<button type="button" id="muteButton"></button>
</div>
<span class="spacer"></span></div>
</div>
<div class = 'col-lg-6 now-playing'><div style="display: inset-block;">
<div class = 'now-pl-text'>
<h2 style="display: inline;">Now <span class="text-danger">playing</span>: </h2>
<h2 style="display: inline;" id="playlist">113.FM Coffee House</h2>
</div>
</div>
</div>
</nav>
<!-- Optional JavaScript -->
<!-- jQuery first, then Popper.js, then Bootstrap JS -->
<script src="https://code.jquery.com/jquery-3.5.1.slim.min.js" integrity="sha384-DfXdz2htPH0lsSSs5nCTpuj/zy4C+OGpamoFVy38MVBnE+IbbVYUew+OrCXaRkfj" crossorigin="anonymous"></script>
<script src="https://cdn.jsdelivr.net/npm/[email protected]/dist/umd/popper.min.js" integrity="sha384-Q6E9RHvbIyZFJoft+2mJbHaEWldlvI9IOYy5n3zV9zzTtmI3UksdQRVvoxMfooAo" crossorigin="anonymous"></script>
<script src="https://stackpath.bootstrapcdn.com/bootstrap/4.5.0/js/bootstrap.min.js" integrity="sha384-OgVRvuATP1z7JjHLkuOU7Xw704+h835Lr+6QL9UvYjZE3Ipu6Tp75j7Bh/kR0JKI" crossorigin="anonymous"></script>
<script type="text/javascript" src="station.js"></script>
</body>
</html>