-
-
Notifications
You must be signed in to change notification settings - Fork 1
/
all workout.html
420 lines (322 loc) Β· 20.3 KB
/
all workout.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
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
<!DOCTYPE html>
<html>
<head>
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>All Workouts</title>
<style>
@media screen and (max-height: 450px);
@media only screen and (max-device-width: 1024px);
body{
background-color: black;
text-align: center;
text-transform: capitalize;
scroll-behavior: smooth;
}
#searchbar{
padding:15px;
border-radius: 10px;
border-style: solid;
}
input[type=text] {
width: 90%;
-webkit-transition: width 0.15s ease-in-out;
transition: width 0.15s ease-in-out;
}
input[type=text]:focus {
width: 98%;
font-size: 25px;
text-align: center;
background-color: black;
color: white;
}
.animals{
display: list-item;
}
a{
text-transform: uppercase;
text-decoration: none;
color: white;
font-size: 20px;
}
.sticky{
position: -webkit-sticky;
position: sticky;
top:0;
}
img.hover-shadow {
transition: 0.3s;
}
.hover-shadow:hover {
box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19);
}
/*3 columns*/
.column1 {
float: left;
width: 28%;
padding: 5px;
height:100%;
}
.row1:after {
content: "";
display: table;
clear: both;
}
figcaption{
text-transform: uppercase;
color: red;
}
</style>
</head>
<body>
<script src="https://ajax.googleapis.com/ajax/libs/jquery/3.5.1/jquery.min.js"></script>
<script>
$(window).on("load", function() {
$(window).scroll(function() {
var windowBottom = $(this).scrollTop() + $(this).innerHeight();
$(".fade").each(function() {
/* Check the location of each desired element */
var objectBottom = $(this).offset().top + $(this).outerHeight();
/* If the element is completely within bounds of the window, fade it in */
if (objectBottom < windowBottom) { //object comes into view (scrolling down)
if ($(this).css("opacity") == 0) {
$(this).fadeTo(500, 1);
}
} else { //object goes out of view (scrolling up)
if ($(this).css("opacity") == 1) {
$(this).fadeTo(500, 0);
}
}
});
}).scroll(); //invoke scroll-handler on page-load
});
</script>
<div class="sticky" style="text-align: center;">
<input id="searchbar" onkeyup="search_animal()" type="text"
name="search" placeholder="Search Workouts.... " >
</div>
<div class="row1" style="">
<div class="column1" style="">
<ol id='list' style="list-style: none;">
<div class="fade">
<a href="#"><li class="animals"><video src="images/jumpingjacks.mp4" width="400" height="150" autoplay="autoplay" muted="true" loop="true" class="i"> </video>
<figcaption>jumping jacks</figcaption></li></a><br></div>
<div class="fade">
<a href="#"><li class="animals"> <video class="hover-shadow cursor" src="images/armanticlock.mp4" width="400" height="150" autoplay="autoplay" muted="true" loop="true"></video>
<figcaption>arm circles anticlock</figcaption></li></a><br></div>
<div class="fade">
<a href="#"><li class="animals"> <video class="hover-shadow cursor" src="images/armclock.mp4" width="400" height="150" autoplay="autoplay" muted="true" loop="true"></video>
<figcaption>arm circles clock</figcaption></li></a><br></div>
<div class="fade">
<a href="#"><li class="animals"> <video class="hover-shadow cursor" src="images/armrsaise.mp4" width="400" height="150" autoplay="autoplay" muted="true" loop="true"></video>
<figcaption>arm raise</figcaption></li></a><br></div>
<div class="fade">
<a href="#"><li class="animals"> <video class="hover-shadow cursor" src="images/backward.mp4" width="400" height="150" autoplay="autoplay" muted="true" loop="true"></video>
<figcaption>backward lunge</figcaption></li></a><br></div>
<div class="fade">
<a href="#"><li class="animals"> <video class="hover-shadow cursor" src="images/bicycle.mp4" width="400" height="150" autoplay="autoplay" muted="true" loop="true"></video>
<figcaption>bicycle CRUNCHES</figcaption></li></a><br></div>
<div class="fade">
<a href="#"><li class="animals"> <video class="hover-shadow cursor" src="images/burpees.mp4" width="400" height="150" autoplay="autoplay" muted="true" loop="true"></video>
<figcaption>burpees</figcaption></li></a><br></div>
<div class="fade">
<a href="#"><li class="animals"> <video class="hover-shadow cursor" src="images/buttbridge.mp4" width="400" height="150" autoplay="autoplay" muted="true" loop="true"></video>
<figcaption>butt bridge</figcaption></li></a><br></div>
<div class="fade">
<a href="#"><li class="animals"> <video class="hover-shadow cursor" src="images/cat.mp4" width="400" height="150" autoplay="autoplay" muted="true" loop="true"></video>
<figcaption>cat cow pose</figcaption></li></a><br></div>
<div class="fade">
<a href="#"><li class="animals"> <video class="hover-shadow cursor" src="images/cheststrechleft.mp4" width="400" height="150" autoplay="autoplay" muted="true" loop="true"></video>
<figcaption>knee chest stretch left</figcaption></li></a><br></div>
<div class="fade">
<a href="#"><li class="animals"> <video class="hover-shadow cursor" src="images/cheststrechright.mp4" width="400" height="150" autoplay="autoplay" muted="true" loop="true"></video>
<figcaption>knee chest stretch right</figcaption></li></a><br></div>
<div class="fade">
<a href="#"><li class="animals"> <video class="hover-shadow cursor" src="images/childpose.mp4" width="400" height="150" autoplay="autoplay" muted="true" loop="true"></video>
<figcaption>child pose</figcaption></li></a><br></div>
<div class="fade">
<a href="#"><li class="animals"> <video class="hover-shadow cursor" src="images/cobra.mp4" width="400" height="150" autoplay="autoplay" muted="true" loop="true"></video>
<figcaption>cobra stretch</figcaption></li></a><br></div>
<div class="fade">
<a href="#"><li class="animals"> <video class="hover-shadow cursor" src="images/crossovercrunches.mp4" width="400" height="150" autoplay="autoplay" muted="true" loop="true"></video>
<figcaption>crossover CRUNCH</figcaption></li></a><br></div>
<div class="fade">
<a href="#"><li class="animals"> <video class="hover-shadow cursor" src="images/diagonalplank.mp4" width="400" height="150" autoplay="autoplay" muted="true" loop="true"></video>
<figcaption>diagonal plank</figcaption></li></a><br></div>
<div class="fade">
<a href="#"><li class="animals"> <video class="hover-shadow cursor" src="images/donkeyleft.mp4" width="400" height="150" autoplay="autoplay" muted="true" loop="true"></video>
<figcaption>donkey kicks left</figcaption></li></a><br></div>
<div class="fade">
<a href="#"><li class="animals"> <video class="hover-shadow cursor" src="images/donkeyright.mp4" width="400" height="150" autoplay="autoplay" muted="true" loop="true"></video>
<figcaption>donkey kicks right</figcaption></li></a><br></div>
<div class="fade">
<a href="#"><li class="animals"> <video class="hover-shadow cursor" src="images/fireleft.mp4" width="400" height="150" autoplay="autoplay" muted="true" loop="true"></video>
<figcaption>fire hydrant left</figcaption></li></a><br></div>
<div class="fade">
<a href="#"><li class="animals"> <video class="hover-shadow cursor" src="images/fireright.mp4" width="400" height="150" autoplay="autoplay" muted="true" loop="true"></video>
<figcaption>fire hydrant right</figcaption></li></a><br></div>
<div class="fade">
<a href="#"><li class="animals"> <video class="hover-shadow cursor" src="images/floorstretchleft.mp4" width="400" height="150" autoplay="autoplay" muted="true" loop="true"></video>
<figcaption>side lying floor stretch left</figcaption></li></a><br></div>
<div class="fade">
<a href="#"><li class="animals"> <video class="hover-shadow cursor" src="images/floorstretchright.mp4" width="400" height="150" autoplay="autoplay" muted="true" loop="true"></video>
<figcaption>side lying floor stretch right</figcaption></li></a><br></div>
<div class="fade">
<a href="#"><li class="animals"> <video class="hover-shadow cursor" src="images/floortriceps.mp4" width="400" height="150" autoplay="autoplay" muted="true" loop="true"></video>
<figcaption>floor tricep dips</figcaption></li></a><br></div>
</ol>
</div>
<div class="column1" style="margin-left: 4%; margin-right: 4%;" >
<ol id='list' style="list-style: none;" >
<div class="fade">
<a href="#"><li class="animals"> <video src="images/heeltouch.mp4" width="400" height="150" autoplay="autoplay" muted="true" loop="true" class="i"> </video>
<figcaption>heel touch</figcaption></li></a><br></div>
<div class="fade">
<a href="#"><li class="animals"> <video class="hover-shadow cursor" src="images/hiphinge.mp4" width="400" height="150" autoplay="autoplay" muted="true" loop="true"></video>
<figcaption>hip hinge</figcaption></li></a><br></div>
<div class="fade">
<a href="#"><li class="animals"> <video class="hover-shadow cursor" src="images/hooks.mp4" width="400" height="150" autoplay="autoplay" muted="true" loop="true"></video>
<figcaption>hooks</figcaption></li></a><br></div>
<div class="fade">
<a href="#"><li class="animals"> <video class="hover-shadow cursor" src="images/hoverpushup.mp4" width="400" height="150" autoplay="autoplay" muted="true" loop="true"></video>
<figcaption>hover push up</figcaption></li></a><br></div>
<div class="fade">
<a href="#"><li class="animals"> <video class="hover-shadow cursor" src="images/inclinepushup.mp4" width="400" height="150" autoplay="autoplay" muted="true" loop="true"></video>
<figcaption>inclide push up's</figcaption></li></a><br></div>
<div class="fade">
<a href="#"><li class="animals"> <video class="hover-shadow cursor" src="images/jumpingjacks.mp4" width="400" height="150" autoplay="autoplay" muted="true" loop="true"></video>
<figcaption>jumping jacks</figcaption></li></a><br></div>
<div class="fade">
<a href="#"><li class="animals"> <video class="hover-shadow cursor" src="images/kickbacktriceps.mp4" width="400" height="150" autoplay="autoplay" muted="true" loop="true"></video>
<figcaption>triceps kickbacks</figcaption></li></a><br></div>
<div class="fade">
<a href="#"><li class="animals"> <video class="hover-shadow cursor" src="images/knee.mp4" width="400" height="150" autoplay="autoplay" muted="true" loop="true"></video>
<figcaption>knee push up</figcaption></li></a><br></div>
<div class="fade">
<a href="#"><li class="animals"> <video class="hover-shadow cursor" src="images/leftcircle.mp4" width="400" height="150" autoplay="autoplay" muted="true" loop="true"></video>
<figcaption>side leg circles left</figcaption></li></a><br></div>
<div class="fade">
<a href="#"><li class="animals"> <video class="hover-shadow cursor" src="images/legraise.mp4" width="400" height="150" autoplay="autoplay" muted="true" loop="true"></video>
<figcaption>leg raise</figcaption></li></a><br></div>
<div class="fade">
<a href="#"><li class="animals"> <video class="hover-shadow cursor" src="images/lying left.mp4" width="400" height="150" autoplay="autoplay" muted="true" loop="true"></video>
<figcaption>side lying leg lift left</figcaption></li></a><br></div>
<div class="fade">
<a href="#"> <li class="animals"> <video class="hover-shadow cursor" src="images/lying right.mp4" width="400" height="150" autoplay="autoplay" muted="true" loop="true"></video>
<figcaption>side lying leg lift right</figcaption></li></a><br></div>
<div class="fade">
<a href="#"><li class="animals"> <video class="hover-shadow cursor" src="images/milatary.mp4" width="400" height="150" autoplay="autoplay" muted="true" loop="true"></video>
<figcaption>milatry push up</figcaption></li></a><br></div>
<div class="fade">
<a href="#"><li class="animals"> <video class="hover-shadow cursor" src="images/mountainclimber.mp4" width="400" height="150" autoplay="autoplay" muted="true" loop="true"></video>
<figcaption>mountain climber</figcaption></li></a><br></div>
<div class="fade">
<a href="#"><li class="animals"> <video class="hover-shadow cursor" src="images/plank.mp4" width="400" height="150" autoplay="autoplay" muted="true" loop="true"></video>
<figcaption>plank</figcaption></li></a><br></div>
<div class="fade">
<a href="#"><li class="animals"> <video class="hover-shadow cursor" src="images/prone.mp4" width="400" height="150" autoplay="autoplay" muted="true" loop="true"></video>
<figcaption>prone triceps push up</figcaption></li></a><br></div>
<div class="fade">
<a href="#"><li class="animals"> <video class="hover-shadow cursor" src="images/pulls.mp4" width="400" height="150" autoplay="autoplay" muted="true" loop="true"></video>
<figcaption>rhomboid pulls</figcaption></li></a><br></div>
<div class="fade">
<a href="#"><li class="animals"> <video class="hover-shadow cursor" src="images/punches.mp4" width="400" height="150" autoplay="autoplay" muted="true" loop="true"></video>
<figcaption>punches</figcaption></li></a><br></div>
<div class="fade">
<a href="#"><li class="animals"> <video class="hover-shadow cursor" src="images/pushup rotation.mp4" width="400" height="150" autoplay="autoplay" muted="true" loop="true"></video>
<figcaption>pushup rotation</figcaption></li></a><br></div>
<div class="fade">
<a href="#"><li class="animals"> <video class="hover-shadow cursor" src="images/pushups.mp4" width="400" height="150" autoplay="autoplay" muted="true" loop="true"></video>
<figcaption>pushups</figcaption></li></a><br></div>
<div class="fade">
<a href="#"><li class="animals"> <video class="hover-shadow cursor" src="images/reverse kicks.mp4" width="400" height="150" autoplay="autoplay" muted="true" loop="true"></video>
<figcaption>reverse flutter kicks</figcaption></li></a><br></div>
</ol>
</div>
<div class="column1" style="">
<ol id='list' style="list-style: none;">
<div class="fade">
<a href="peacock#"><li class="animals"> <video class="hover-shadow cursor" src="images/russiantwist.mp4" width="400" height="150" autoplay="autoplay" muted="true" loop="true"></video>
<figcaption>russian twist</figcaption></li></a><br></div>
<div class="fade">
<a href="giraffe#"><li class="animals"> <video class="hover-shadow cursor" src="images/sidearm.mp4" width="400" height="150" autoplay="autoplay" muted="true" loop="true"></video>
<figcaption>side arm raise</figcaption></li></a><br></div>
<div class="fade">
<a href="iguana#"><li class="animals"> <video class="hover-shadow cursor" src="images/sidehop.mp4" width="400" height="150" autoplay="autoplay" muted="true" loop="true"></video>
<figcaption>side hop</figcaption></li></a><br></div>
<div class="fade">
<a href="tapir#"><li class="animals"> <video class="hover-shadow cursor" src="images/sideplank(left).mp4" width="400" height="150" autoplay="autoplay" muted="true" loop="true"></video>
<figcaption>side plank left</figcaption></li></a><br></div>
<div class="fade">
<a href="hummingbird#"><li class="animals"> <video class="hover-shadow cursor" src="images/sideplank(right).mp4" width="400" height="150" autoplay="autoplay" muted="true" loop="true"></video>
<figcaption>side plank right</figcaption></li></a><br></div>
<div class="fade">
<a href="tortoise#"><li class="animals"> <video class="hover-shadow cursor" src="images/sissors.mp4" width="400" height="150" autoplay="autoplay" muted="true" loop="true"></video>
<figcaption>arm sissors</figcaption></li></a><br></div>
<div class="fade">
<a href="cock of rock#"><li class="animals"> <video class="hover-shadow cursor" src="images/skipping.mp4" width="400" height="150" autoplay="autoplay" muted="true" loop="true"></video>
<figcaption>skipping without rope</figcaption></li></a><br></div>
<div class="fade">
<a href="#"> <li class="animals"> <video class="hover-shadow cursor" src="images/spineleft.mp4" width="400" height="150" autoplay="autoplay" muted="true" loop="true"></video>
<figcaption>spine lumbar twist stretch left</figcaption></li></a><br></div>
<div class="fade">
<a href="#"> <li class="animals"> <video class="hover-shadow cursor" src="images/spineright.mp4" width="400" height="150" autoplay="autoplay" muted="true" loop="true"></video>
<figcaption>spine lumbar twist stretch right</figcaption></li></a><br></div>
<div class="fade">
<a href="#"> <li class="animals"> <video class="hover-shadow cursor" src="images/squats.mp4" width="400" height="150" autoplay="autoplay" muted="true" loop="true"></video>
<figcaption>squats</figcaption></li></a><br></div>
<div class="fade">
<a href="#"> <li class="animals"> <video class="hover-shadow cursor" src="images/standingleft.mp4" width="400" height="150" autoplay="autoplay" muted="true" loop="true"></video>
<figcaption>standing biceps stretch left</figcaption></li></a><br></div>
<div class="fade">
<a href="#"> <li class="animals"> <video class="hover-shadow cursor" src="images/standingright.mp4" width="400" height="150" autoplay="autoplay" muted="true" loop="true"></video>
<figcaption>standing biceps stretch right</figcaption></li></a><br></div>
<div class="fade">
<a href="#"> <li class="animals"> <video class="hover-shadow cursor" src="images/stretchleft.mp4" width="400" height="150" autoplay="autoplay" muted="true" loop="true"></video>
<figcaption>left quad stretch with wall</figcaption></li></a><br></div>
<div class="fade">
<a href="#"> <li class="animals"> <video class="hover-shadow cursor" src="images/stretchright.mp4" width="400" height="150" autoplay="autoplay" muted="true" loop="true"></video>
<figcaption>right quad stretch with wall</figcaption></li></a><br></div>
<div class="fade">
<a href="#"> <li class="animals"> <video class="hover-shadow cursor" src="images/sumosquat.mp4" width="400" height="150" autoplay="autoplay" muted="true" loop="true"></video>
<figcaption>sumo squat</figcaption></li></a><br></div>
<div class="fade">
<a href="#"> <li class="animals"> <video class="hover-shadow cursor" src="images/swimmer.mp4" width="400" height="150" autoplay="autoplay" muted="true" loop="true"></video>
<figcaption>swimmer and superman</figcaption></li></a><br></div>
<div class="fade">
<a href="#"> <li class="animals"> <video class="hover-shadow cursor" src="images/triceps.mp4" width="400" height="150" autoplay="autoplay" muted="true" loop="true"></video>
<figcaption>triceps dips</figcaption></li></a><br></div>
<div class="fade">
<a href="#"> <li class="animals"> <video class="hover-shadow cursor" src="images/tricepsleft.mp4" width="400" height="150" autoplay="autoplay" muted="true" loop="true"></video>
<figcaption>triceps stretch left</figcaption></li></a><br></div>
<div class="fade">
<a href="#"> <li class="animals"> <video class="hover-shadow cursor" src="images/tricepsright.mp4" width="400" height="150" autoplay="autoplay" muted="true" loop="true"></video>
<figcaption>triceps stretch right</figcaption></li></a><br></div>
<div class="fade">
<a href="#"> <li class="animals"> <video class="hover-shadow cursor" src="images/v.mp4" width="400" height="150" autoplay="autoplay" muted="true" loop="true"></video>
<figcaption>v up</figcaption></li></a><br></div>
<div class="fade">
<a href=""> <li class="animals"> <video class="hover-shadow cursor" src="images/wall.mp4" width="400" height="150" autoplay="autoplay" muted="true" loop="true"></video>
<figcaption>wall push up</figcaption></li></a><br></div>
<div class="fade">
<a href="#"> <li class="animals"> <video class="hover-shadow cursor" src="images/wallsit.mp4" width="400" height="150" autoplay="autoplay" muted="true" loop="true"></video>
<figcaption>wall sit</figcaption></li></a><br></div>
</ol>
</div>
</div>
<script>
function search_animal() {
let input = document.getElementById('searchbar').value
input=input.toLowerCase();
let x = document.getElementsByClassName('animals');
for (i = 0; i < x.length; i++) {
if (!x[i].innerHTML.toLowerCase().includes(input)) {
x[i].style.display="none";
}
else {
x[i].style.display="list-item";
}
}
}
</script>
</body>
</html>