-
Notifications
You must be signed in to change notification settings - Fork 18
/
sidebar.html
63 lines (54 loc) · 2.12 KB
/
sidebar.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
<!DOCTYPE html>
<html>
<head>
<title></title>
<link type="text/css" rel="stylesheet" href="stylesheet.css">
</head>
<body >
<!--<div id="mySidebar" class="sidebar" >
<a href="javascript:void(0)" class="closebtn" onclick="closeNav()">×</a>
<input type="text" placeholder="Search.." id="myInput" onkeyup="filterFunction()">
<a href="hod_login.php" onclick="l32()" id="e2">Hodlogin</a>
<a href="staff_login.php" onclick="l1()" id="e1">Adminlogin</a>
<a href="student_login.php" onclick="l2()" id="e2">Studentlogin</a>
</div>
<div id="main1">
<button class="openbtn" onclick="openNav()">login</button>
</div>-->
<div>
<a href="hod_login.php"><br><br><img src="hod.jpg" alt="HOD" width="200" height="200"></a>
<a href="student_login.php"><img src="student.jpg" alt="Incharge" width="200" height="200"></a>
<a href="staff_login.php"><img src="admin1.jpg" alt="Academic coodinator" width="200" height="200"></a>
</div>
<div id="data">
</div>
<!--
<script>
/* Set the width of the sidebar to 250px and the left margin of the page content to 250px */
function openNav() {
document.getElementById("mySidebar").style.width = "250px";
document.getElementById("main1").style.marginLeft = "250px";
}
/* Set the width of the sidebar to 0 and the left margin of the page content to 0 */
function closeNav() {
document.getElementById("mySidebar").style.width = "0";
document.getElementById("main1").style.marginLeft = "0";
}
function filterFunction() {
var input, filter, ul, li, a, i;
input = document.getElementById("myInput");
filter = input.value.toUpperCase();
div = document.getElementById("mySidebar");
a = div.getElementsByTagName("a");
for (i = 0; i < a.length; i++) {
txtValue = a[i].textContent || a[i].innerText;
if (txtValue.toUpperCase().indexOf(filter) > -1) {
a[i].style.display = "";
} else {
a[i].style.display = "none";
}
}
}
</script>-->
</body>
</html>