-
Notifications
You must be signed in to change notification settings - Fork 0
/
main_page.html
72 lines (60 loc) · 2.4 KB
/
main_page.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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<title>Group 7 Template</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="Quickshop Logo.PNG" alt="image of logo" class="logo"></a>
<nav>
<ul id="menuList" style="max-height: 0px">
<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><img src="Quickshop Logo.PNG" alt="image of logo" class="logo"></center>
<h4><input type="text" placeholder="Search for a store" style="width: 100%;" class="search_bar"></h4>
<a href="map.html"><button type="button" style="width: 30%; margin-left: 35%; margin-right: 35%;"> Search</button></a>
<br>
<br>
<hr>
<h4><input type="text" placeholder="Search for a product" style="width: 100%;" class="search_bar"></h4>
<a href="product_location.html"><button type="button" style="width: 30%; margin-left: 35%; margin-right: 35%;"> Search</button></a>
</div>
</div>
</div>
<script src="index.js"></script>
<footer>
<nav>
<ul>
<li><a href="employee_page.html">Employee Login</a></li>
<li><a href="signup.html">Sign Up</a></li>
<li><a href="join.html">I'm a Store</a></li>
</ul>
</nav>
</footer>
<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>