-
Notifications
You must be signed in to change notification settings - Fork 0
/
map.html
55 lines (45 loc) · 1.29 KB
/
map.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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<title>Store Map</title>
<link rel="stylesheet" href="style.css">
</head>
<body>
<div class="main">
<div class="navbar">
<!-- probaly put an image in the navbar class="logo" or something--->
<a href="main_page.html"><img src="logo.png" alt="image of logo" class="logo"></a>
<nav>
<ul id="menuList">
<li><a href="map.html">Store Map</a></li>
<li><a href="check_out.html">Check Out</a></li>
<li><a href="login.html">Log In</a></li>
<li><a href="employee_page.html">Employee Pages</a></li>
</ul>
</nav>
<!-- for the drop down menue-->
<img src="dropdown.png" alt="drop down menu botton" class="menu_dropdown" onclick="dropdown()">
</div>
<div class="row">
<div class="col_main">
<center><h2>Store Map</h2></center>
<hr>
<a href="product_info.html"><img src="map.png" alt="store map" style="width: 50vw"/></a>
</div>
</div>
</div>
<script>
var menuList =document.getElementById("menuList");
menuList.style.maxHeight = "0px";
function dropdown(){
if(menuList.style.maxHeight == "0px"){
menuList.style.maxHeight = "140px";
}
else{
menuList.style.maxHeight = "0px";
}
}
</script>
</body>
</html>