-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathTemplate.html
More file actions
63 lines (54 loc) · 1.97 KB
/
Template.html
File metadata and controls
63 lines (54 loc) · 1.97 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
<html>
<head>
<link href="Moocss.css" rel="stylesheet" type="text/css">
<script src="https://ajax.googleapis.com/ajax/libs/jquery/3.4.1/jquery.min.js"></script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/p5.js/0.7.1/p5.min.js"></script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/p5.js/0.7.1/addons/p5.dom.min.js"></script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/p5.js/0.7.1/addons/p5.sound.min.js"></script>
<script>
let videoShowing = false;
$(document).ready(function() {
$('.dropcontent').hide();
$('img[src="thumb.png"]').on('click', function() {
if(videoShowing)
$('.dropcontent').hide();
else
$('.dropcontent').show();
videoShowing = !videoShowing;
});
});
</script>
<title>MOO something</title>
<center>
<h1>66945 Web</h1>
</center>
<ul>
<li><a href="index.html">Home</a></li>
<li><a href="admin.html">Admin</a></li>
<li class="right"><a href="info.html">Info</a></li>
</ul>
</head>
<body>
<br>
<div class="par">
<p>
text <a class="link">link</a>
</p>
<br>
<div class="drop">
<img src="thumb.png" width="108" height="72">
<div class="dropcontent">
<video width="640" height="480" controls src="geo.mp4" type="video/mp4"></video>
</div>
</div>
<br>
<input type="text" placeholder="Text input"></input>
<br>
<button class="button">Button</button>
<br>
<button class="hackbutton">Emergency</button>
<br>
moo
</div>
</body>
</html>