-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
164 lines (157 loc) · 5.58 KB
/
index.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
<!DOCTYPE html>
<!-- Created by CodingLab |www.youtube.com/CodingLabYT-->
<html lang="en" dir="ltr">
<head>
<meta charset="UTF-8">
<!--<title> Drop Down Sidebar Menu | CodingLab </title>-->
<link rel="stylesheet" href="style.css">
<!-- Boxiocns CDN Link -->
<link href='https://unpkg.com/[email protected]/css/boxicons.min.css' rel='stylesheet'>
<link rel="icon" type="image/png" href="pixelart/mini jaminho.png">
<link href='style/menu.css' rel='stylesheet'>
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Jamesfoxbr's Website</title>
</head>
<body>
<div class="sidebar close">
<div class="logo-details">
<i><img src="pixelart/mini jaminho.png" style="width: 32px;"></i>
<span class="logo_name">Jamesfoxbr</span>
</div>
<ul class="nav-links">
<li>
<a href="home.html" target="middle">
<i><img src="icons/house-chimney-solid.svg" class="svg-icon"></i>
<span class="link_name">Home</span>
</a>
<ul class="sub-menu blank">
<li><a class="link_name" href="#">Home</a></li>
</ul>
</li>
<li>
<div class="iocn-link">
<a href="#">
<i><img src="icons/brush-fill.svg" class="svg-icon"></i>
<span class="link_name">Colored Commissions</span>
</a>
<i class='bx bxs-chevron-down arrow' ></i>
</div>
<ul class="sub-menu">
<li><a class="link_name" href="#">Colored Commissions</a></li>
<li><a href="commissions/coloredportrait.html" target="middle">Portraits</a></li>
<li><a href="commissions/coloredfullbody.html" target="middle">Full Body</a></li>
</ul>
</li>
<li>
<div class="iocn-link">
<a href="#">
<i><img src="icons/brush.svg" class="svg-icon"></i>
<span class="link_name">Sketch Commissions</span>
</a>
<i class='bx bxs-chevron-down arrow' ></i>
</div>
<ul class="sub-menu">
<li><a class="link_name" href="#">Sketch Commissions</a></li>
<li><a href="commissions/sketchportrait.html" target="middle">Portraits</a></li>
<li><a href="commissions/sketchfullbody.html" target="middle">Full Body</a></li>
</ul>
</li>
<li>
<div class="iocn-link">
<a href="#">
<i><img src="icons/joystick.svg" class="svg-icon"></i>
<span class="link_name">Pixelart Commissions</span>
</a>
<i class='bx bxs-chevron-down arrow' ></i>
</div>
<ul class="sub-menu">
<li><a class="link_name" href="#">Pixelart Commissions</a></li>
<li><a href="commissions/pixelportrait.html" target="middle">Animated Portraits</a></li>
<li><a href="#" target="middle">Option 2</a></li>
</ul>
</li>
<li>
<a href="tos.html" target="middle">
<i><img src="icons/file-text.svg" class="svg-icon"></i>
<span class="link_name">Terms of Service</span>
</a>
<ul class="sub-menu blank">
<li><a class="link_name" href="tos.html" target="middle">Terms of Service</a></li>
</ul>
</li>
<li>
<a href="gallery.html" target="middle">
<i><img src="icons/easel.svg" class="svg-icon"></i>
<span class="link_name">Gallery</span>
</a>
<ul class="sub-menu blank">
<li><a class="link_name" href="gallery.html" target="middle">Gallery</a></li>
</ul>
</li>
<li>
<a href="about.html" target="middle">
<i><img src="icons/person-circle.svg" class="svg-icon"></i>
<span class="link_name">About</span>
</a>
<ul class="sub-menu blank">
<li><a class="link_name" href="a.html" target="middle">About</a></li>
</ul>
</li>
<li>
<a href="contact.html" target="middle">
<i><img src="icons/envelope-at-fill.svg" class="svg-icon"></i>
<span class="link_name">Contact</span>
</a>
<ul class="sub-menu blank">
<li><a class="link_name" href="contact.html" target="middle">Contact</a></li>
</ul>
</li>
<div class="profile-details">
<div class="profile-content">
<!--<img src="image/profile.jpg" alt="profileImg">-->
</div>
<div >
<div class="social-media">
<a href="https://discord.gg/nenhFHX" target="_blank" class="social-icon">
<img src="icons/icons8-discord.svg" alt="Discord" style="width: 50%; height: 50%;">
</a>
<a href="https://x.com/jamesfoxbr" target="_blank" class="social-icon">
<img src="icons/icons8-twitter.svg" alt="Twitter" style="width: 50%; height: 50%;">
</a>
<a href="http://www.youtube.com/user/jamesfoxbr" target="_blank" class="social-icon">
<img src="icons/icons8-youtube.svg" alt="Youtube" style="width: 50%; height: 50%;">
</a>
</div>
</div>
</div>
</li>
</ul>
</div>
<section class="home-section">
<div class="home-content">
<i class='bx bx-menu' ></i>
</div>
<!-- Add your page content below -->
<div style="height: 100vh;">
<iframe id="myIframe" src="home.html" style="border:0px #ffffff none; " name="middle" scrolling="auto" allowfullscreen></iframe>
</div>
<!-- End of your content -->
</section>
<div class="one"></div>
<script>
let arrow = document.querySelectorAll(".arrow");
for (var i = 0; i < arrow.length; i++) {
arrow[i].addEventListener("click", (e)=>{
let arrowParent = e.target.parentElement.parentElement;//selecting main parent of arrow
arrowParent.classList.toggle("showMenu");
});
}
let sidebar = document.querySelector(".sidebar");
let sidebarBtn = document.querySelector(".bx-menu");
console.log(sidebarBtn);
sidebarBtn.addEventListener("click", ()=>{
sidebar.classList.toggle("close");
});
</script>
</body>
</html>