-
Notifications
You must be signed in to change notification settings - Fork 0
/
vid.html
170 lines (151 loc) · 3.52 KB
/
vid.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
<html>
<head>
<title>Promo Video</title>
<meta name="viewport" content="width=device-width, initial-scale=1">
<style>
.navbar {
background: black;
padding-top: 0px;
padding:0px;
overflow: hidden;
position: fixed; /* Set the navbar to fixed position */
top: 0; /* Position the navbar at the top of the page */
width: 100%; /* Full width */
}
/* width */
::-webkit-scrollbar {
width: 10px;
}
/* Track */
::-webkit-scrollbar-track {
background: url('stars.jpg');
}
/* Handle */
::-webkit-scrollbar-thumb {
background: white;
}
/* Handle on hover */
::-webkit-scrollbar-thumb:hover {
background: white;
}
p a{
color:orange;
font-size:15px;
}
p a:hover{
color:white;
}
h1{
color:orangered;
font: Arial;
}
body{
background-color:black;
}
input{
color: orangered;}
.dropbtn {
background-color: orangered;;
color: white;
padding: 16px;
font-size: 16px;
border: none;
cursor: pointer;
font-face: arial;
}
.dropbtn:hover, .dropbtn:focus {
background-color: white;
font-face: arial;
color:orangered;
}
#myInput {
box-sizing: border-box;
background: url('https://www.w3schools.com/howto/searchicon.png');
background-position: 14px 12px;
background-color: white;
color:orangered;
background-repeat: no-repeat;
font-size: 16px;
padding: 14px 20px 12px 45px;
border: none;
border-bottom: 1px solid white;
font-face: arial;
}
#myInput:focus {outline: 3px solid orangered;}
.dropdown {
position: relative;
display: inline-block;
}
.dropdown-content {
display: none;
position: absolute;
background-color: orangered;
min-width: 230px;
overflow: auto;
border: 1px solid #ddd;
z-index: 1;
font-face: arial;
}
.dropdown-content a {
color: white;
padding: 12px 16px;
text-decoration: none;
font-face: arial;
display: block;
}
.dropdown a:hover {background-color: white; color:orangered; font-face: arial;}
.show {display: block;}
</style>
</head>
<body>
<font face="Arial">
<img src="LOGO.jpg" width="100%">
<div class="dropdown">
<button onclick="myFunction()" class="dropbtn">Links to Material</button>
<div id="myDropdown" class="dropdown-content">
<input type="text" placeholder="Search.." id="myInput" onkeyup="filterFunction()">
<a href="index.html">Home</a>
<a href="vid.html">Promotional Video</a>
<a href="powerpoints.html">PPTs</a>
<a href="code.html">Simulator Code</a>
<a href="articles.html">Articles</a>
<a href="gallery.html">Gallery</a>
<a href="credits.html">Credits</a>
</div>
</div>
</font>
<script>
/* When the user clicks on the button,
toggle between hiding and showing the dropdown content */
function myFunction() {
document.getElementById("myDropdown").classList.toggle("show");
}
function filterFunction() {
var input, filter, ul, li, a, i;
input = document.getElementById("myInput");
filter = input.value.toUpperCase();
div = document.getElementById("myDropdown");
a = div.getElementsByTagName("a");
for (i = 0; i < a.length; i++) {
txtValue = a[i].textContent || a[i].innerText;
if (txtValue.toUpperCase().indexOf(filter) > -1) {
a[i].style.display = "";
} else {
a[i].style.display = "none";
}
}
}
</script>
<center>
<u><h1>Promotional Video</h1></u>
<p>
<font face="Arial">
<video src="crawl_final_.mp4" height="100%" width="100%" controls>
<br>
<a href="crawl_final_.mp4" download>Download</a></font>
</center>
</p>
</video>
<center>
</body>
</html>