-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathheader.html
More file actions
67 lines (66 loc) · 2.49 KB
/
header.html
File metadata and controls
67 lines (66 loc) · 2.49 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
67
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<script
src="https://code.jquery.com/jquery-3.6.0.min.js"
integrity="sha256-/xUj+3OJU5yExlq6GSYGSHk7tPXikynS7ogEvDej/m4="
crossorigin="anonymous"></script>
<title></title>
<link rel="stylesheet" href="./css/style.css">
<link rel="stylesheet" href="./css/header.css">
<script type="text/javascript">
var el=document.getElementById('headerId').getElementsByTagName('a');
var url=document.location.href;
var fragment = document.URL;
var isFragmentInUrl = url.indexOf(fragment) > -1;
for(var i=0;i<el.length; i++) {
if (el[i].href.indexOf(fragment) > -1) {
el[i].className += 'active';
}
};
</script>
</head>
<div id="headerId">
<header class="header">
<nav class="header__navigation">
<ul class="header__list">
<li class="header__item">
<a href="introduction.html">Introduction</a>
</li>
<li class="header__item">
<a href="index.html">Colors</a>
</li>
<li class="header__item">
<a href="typography.html">Typography</a>
</li>
<li class="header__item">
<a href="icons.html">Icons</a>
</li>
<li class="header__item__dropdown">
<a href="components.html">Components</a>
<ul class="dropdown__header__list">
<li>
<a href="button.html" class="dropdown__header__link noactive"style="color:#424242;">Buttons</a>
</li>
<li>
<a href="inputs.html" class="dropdown__header__link noactive"style="color:#424242;">Inputs</a>
</li>
<li>
<a href="tooltips.html" class="dropdown__header__link noactive"style="color:#424242;">Tooltips</a>
</li>
</ul>
</li>
<span class="dropdown__arrow"></span>
<li class="header__item">
<a href="layouts.html">Layouts</a>
</li>
</ul>
</nav>
</header>
</div>
<body>
</body>
</html>