-
Notifications
You must be signed in to change notification settings - Fork 0
/
check_out.html
74 lines (65 loc) · 2.07 KB
/
check_out.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
73
74
<!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>
<center><table style = 'width:100%'>
<tr>
<th>Product Name</th>
<th>Quantity</th>
<th>Price</th>
</tr>
<tr>
<td>Tactical Ohio Boots</td>
<td>1</td>
<td>$100.50</td>
</tr>
<tr>
<td>#</td>
<td>#</td>
<td>#</td>
</tr>
<tr>
<td>#</td>
<td>#</td>
<td>#</td>
</tr>
</table></center>
<div class="row">
<div class="col_main">
<center><button type="button">Checkout</button> </center>
</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>