-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathcontact.html
More file actions
50 lines (41 loc) · 1.16 KB
/
contact.html
File metadata and controls
50 lines (41 loc) · 1.16 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
<!DOCTYPE html>
<html>
<head>
<title>Credits | Data Project</title>
<link rel="stylesheet" href="style.css">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<link rel="icon" href="icontree.png">
</head>
<body>
<ul id="navbar">
<li class="edge2"><a href="index.html">Home</a></li>
<li><a href="credits.html">Credits</a></li>
<li><a href="sources.html">Sources</a><li>
<li><a href="contact.html">Contact</a></li>
</ul>
<div class="credits-container">
<h1>
Contact
</h1>
<p>
040 259 1391 <br>
<br>
Torenallee 75, 5617 BB Eindhoven <br>
<br>
</p>
</div>
<script>
window.onscroll = function() {myFunction()};
var navbar = document.getElementById("navbar");
var sticky = navbar.offsetTop;
function myFunction() {
if (window.pageYOffset >= sticky) {
navbar.classList.add("sticky")
} else {
navbar.classList.remove("sticky");
}
}
</script>
</body>
</html>