-
Notifications
You must be signed in to change notification settings - Fork 0
/
summary.html
69 lines (59 loc) · 2.29 KB
/
summary.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
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8" />
<title> THISIS.IRIS </title>
<link href="https://fonts.googleapis.com/css2?family=Varela+Round&display=swap" rel="stylesheet">
<link rel="stylesheet" href="styles.css">
<link rel="stylesheet" href="reset.css">
<link type="hidden" rel="stylesheet" href="debug.css">
</head>
<body>
<div class="overall_menubar">
<div class="menubar">
<div class="menubar_left">
<div class="menubar_link">
<a href="index.html">HOME</a>
</div>
<div class="menubar_link active-menubar_link">
<a href="summary.html">SUMMARY</a>
</div>
<div class="menubar_link">
<a href="projects.html">PROJECTS</a>
</div>
<div class="menubar_link">
<a href="blog.html">BLOG</a>
</div>
<div class="menubar_link">
<a href="contact me.html">CONTACT ME</a>
</div>
</div>
<div class="menubar_right">
<div class="menubar_brand">
<div class="menubar_brand-logo">
<img src="images/logo/main logo-white.PNG" width="150" height="40">
</div>
</div>
</div>
</div>
</div>
<div class="overall_summary">
<img class="coming-soon" height="500" width="800" src="/images/logo/coming soon-white.png"/>
</div>
</body>
<script>
/* when user scrolls down, hide menubar.
when user scrolls up, show the menubar. */
var prevScrollpos = window.pageYOffset;
window.onscroll = function(){
var currentScrollpos = window.pageYOffset;
if(prevScrollpos>currentScrollpos){
document.getElementById("overall_menubar").style.top = "0";
}
else{
document.getElementById("overall_menubar").style.top = "-50px";
}
prevScrollpos = currentScrollpos;
}
</script>
</html>