-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathorderstatustest.html
92 lines (86 loc) · 2.73 KB
/
orderstatustest.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
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
<body>
<!--cart items detail-->
<div class="small-container cart-page">
<table>
<tr>
<th>Product</th>
<th>Quantity</th>
<th>Subtotle</th>
</tr>
<tr>
<td>
<div class="cart-info">
<img src="images/buy-1.jpg" alt="">
<div>
<p>Red printed T-shirt</p>
<small>price: $50.00</small>
<br>
<a href="">remove</a>
</div>
</div>
</td>
<td><input type="number" value="1"></td>
<td>$50.00</td>
</tr>
<tr>
<td>
<div class="cart-info">
<img src="images/buy-2.jpg" alt="">
<div>
<p>Red printed T-shirt</p>
<small>price: $50.00</small>
<br>
<a href="">remove</a>
</div>
</div>
</td>
<td><input type="number" value="1"></td>
<td>$50.00</td>
</tr>
<tr>
<td>
<div class="cart-info">
<img src="images/buy-3.jpg" alt="">
<div>
<p>Red printed T-shirt</p>
<small>price: $50.00</small>
<br>
<a href="">remove</a>
</div>
</div>
</td>
<td><input type="number" value="1"></td>
<td>$50.00</td>
</tr>
</table>
<div class="total-price">
<table>
<tr>
<td>SUbtotal</td>
<td>$150.00</td>
</tr>
<tr>
<td>Tax</td>
<td>$15.00</td>
</tr>
<tr>
<td>Total</td>
<td>$165.00</td>
</tr>
</table>
</div>
</div>
<!-----------js for toggle menu----------->
<script>
var menuitems = document.getElementById("menuitems");
menuitems.style.maxHeight = "0px";
function menutoggle() {
if (menuitems.style.maxHeight = "0px") {
menuitems.style.maxHeight = "200px";
} else {
menuitems.style.maxHeight = "0px";
}
}
</script>
</body>
</html>