-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathgallery.html
More file actions
66 lines (66 loc) · 2.59 KB
/
gallery.html
File metadata and controls
66 lines (66 loc) · 2.59 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
64
65
66
<!DOCTYPE html>
<html lang="en" dir="ltr">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>My Page</title>
<link rel="stylesheet" href="style/style.css">
<script src="https://kit.fontawesome.com/649eda76c1.js" crossorigin="anonymous"></script>
<script src="script/response.js" charset="utf-8"></script>
<script src="script/theme.js" charset="utf-8"></script>
<script>
if(!document.cookie)
{
let hr = new Date().getHours();
if((hr > 18) || (hr < 06))
{
document.getElementsByTagName('link')[0].setAttribute('href', 'style/dark.css');
}
else {
document.getElementsByTagName('link')[0].setAttribute('href', 'style/style.css');
}
}
else {
if(document.cookie.search("light") != -1)
{
document.getElementsByTagName('link')[0].setAttribute('href', 'style/style.css');
}
else if (document.cookie.search("dark") != -1)
{
document.getElementsByTagName('link')[0].setAttribute('href', 'style/dark.css');
}else if (document.cookie.search("night") != -1)
{
document.getElementsByTagName('link')[0].setAttribute('href', 'style/night.css');
}
}
</script>
</head>
<body>
<div class="Header">
<div class="theme">
Choose Your Theme :
<label class="switch">
<input type="radio" name="theme" value="light" onclick="changetheme(this.value)"/>Light 🌞  
</label>
<label class="switch">
<input type="radio" name="theme" value="dark" onclick="changetheme(this.value)"/>Dark 🖥  
</label>
<label class="switch">
<input type="radio" name="theme" value="night" onclick="changetheme(this.value)"/>Night 🦉
</label>
</div>
<button class="menu_button" id="mb" onclick="toggling()"><i style="font-size:48px;" class="fas fa-bars fa-3x"></i></button>
<nav id="main" class="main">
<a href="index.html">Home</a>
<a href="#">Gallery</a>
<a href="contact.html">Contact</a>
<a href="about.html">About</a>
</nav>
</div>
<div onclick="toggling2()">
<p>Let me show-off 😉</p>
<iframe src="Docs/V7ADP7EH9SVZ.pdf#toolbar=0" width="800px" height="600px"></iframe>
<iframe src="Docs/BBDME9N2RYB5.pdf#toolbar=0" width="800px" height="600px"></iframe>
<iframe src="Docs/6358TY5ZF9WG.pdf#toolbar=0" width="800px" height="600px"></iframe><br>
<img src="img/20211110_002723.jpg" alt="a work completion certificate" width="400px">
</div>