-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathnavigation.html
More file actions
89 lines (74 loc) · 1.88 KB
/
Copy pathnavigation.html
File metadata and controls
89 lines (74 loc) · 1.88 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
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
<html>
<head>
<title>Home Page</title>
<link rel="stylesheet" type="text/css" href="navigation.css">
</head>
<div class="navbar">
<a href="navigation.html">Home</a>
<a href="Wlan.html">Wlan</a>
<a href="Logout.html">Logout</a>
</div>
<div class="main">
<p>..</p>
</div>
<div style="position: relative">
<p style="position: fixed; bottom: 0; width:100%; text-align: center"></p>
</div>
<style>
.collapsible {
background-color: #777;
color: white;
cursor: pointer;
padding: 18px;
width: 100%;
border: none;
text-align: left;
outline: none;
font-size: 15px;
}
.active, .collapsible:hover {
background-color: #555;
}
.collapsible:after {
content: '\002B';
color: white;
font-weight: bold;
float: right;
margin-left: 5px;
}
.active:after {
content: "\2212";
}
.content {
padding: 0 18px;
max-height: 0;
overflow: hidden;
transition: max-height 0.2s ease-out;
background-color: #f1f1f1;
}
</style>
<body>
<link href="site.css" rel="stylesheet">
<h1>Welcome to Home Page</h1>
<h2>Main Options:</h2>
<button class="collapsible">Wireless LAN (Wlan) Setup</button>
<div class="content">
<p>Wifi settings for the local device can be configured in this page. This page consist of WiFi Scan button, that scans and displays the near-by wifi networks. User can connect to the desired wifi network by entering SSID and password details.</p>
</div>
<script>
var coll = document.getElementsByClassName("collapsible");
var i;
for (i = 0; i < coll.length; i++) {
coll[i].addEventListener("click", function() {
this.classList.toggle("active");
var content = this.nextElementSibling;
if (content.style.maxHeight){
content.style.maxHeight = null;
} else {
content.style.maxHeight = content.scrollHeight + "px";
}
});
}
</script>
</body>
</html>