-
Notifications
You must be signed in to change notification settings - Fork 0
/
ProductPage_JM.html
457 lines (378 loc) · 16.6 KB
/
ProductPage_JM.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
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
<!-- written by janak mallik -->
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<!-- css link -->
<link rel="stylesheet" href="style_JM.css">
<!-- bootstrap css links -->
<link href="https://cdn.jsdelivr.net/npm/[email protected]/dist/css/bootstrap.min.css" rel="stylesheet" integrity="sha384-EVSTQN3/azprG1Anm3QDgpJLIm9Nao0Yz1ztcQTwFspd3yD65VohhpuuCOmLASjC" crossorigin="anonymous">
<!-- <link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/[email protected]/dist/css/bootstrap.min.css" integrity="sha384-Vkoo8x4CGsO3+Hhxv8T/Q5PaXtkKtu6ug5TOeNV6gBiFeWPGFN9MuhOf23Q9Ifjh" crossorigin="anonymous"> -->
<!-- fontawesome -->
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.1.2/css/all.min.css" integrity="sha512-1sCRPdkRXhBV2PBLUdRb4tMg1w2YPf37qatUFeS7zlBy7jJI8Lf4VHwWfZZfpXtYSLy85pkm9GaYVYMfw5BC1A==" crossorigin="anonymous" referrerpolicy="no-referrer" />
<!-- bootstrap js links -->
<!-- dont cut these three lines mobile navbar would noyt work -->
<script src="https://code.jquery.com/jquery-3.4.1.slim.min.js" integrity="sha384-J6qa4849blE2+poT4WnyKhv5vZF5SrPo0iEjwBvKU7imGFAV0wwj1yYfoRSJoZ+n" crossorigin="anonymous"></script>
<script src="https://cdn.jsdelivr.net/npm/[email protected]/dist/umd/popper.min.js" integrity="sha384-Q6E9RHvbIyZFJoft+2mJbHaEWldlvI9IOYy5n3zV9zzTtmI3UksdQRVvoxMfooAo" crossorigin="anonymous"></script>
<script src="https://cdn.jsdelivr.net/npm/[email protected]/dist/js/bootstrap.min.js" integrity="sha384-wfSDF2E50Y2D1uUdj0O3uMBJnjuUD4Ih7YwaYd1iqfktj0Uod8GCExl3Og8ifwB6" crossorigin="anonymous"></script>
<title>Product page</title>
<link rel="icon" type="image/x-icon" href="img/b1.png">
<style>
.small-img-group{
display: flex;
justify-content: space-between;
}
.small-img-col{
flex-basis: 24%;
cursor: pointer;
}
.s_prdct select{
display: block;
padding: 5px 10px;
}
.s_prdct input{
width: 50px;
height: 40px;
padding-left: 10px;
font-size: 16px;
margin-right: 10px;
}
.s_prdct input:focus{
outline: none;
}
.buy-btn{
/* background: red; */
/* opacity: 1; */
transition: 0.3s all;
}
h6{
color: gray;
}
/* featured product style */
.product {
cursor: pointer;
margin-bottom: 2rem;
}
.product img {
transition: .3s all;
}
.product:hover img {
opacity: .7;
}
.product .buy-btn {
transform: translateY(30px);
opacity: 0;
transition: 0.3s all;
}
.product:hover .buy-btn {
transform: translateY(0);
opacity: 1;
}
.star i {
/* font-size: .8rem; */
color: darkgray;
margin-bottom: 10px;
}
.product a{
text-decoration: none;
color: black;
}
.product a:hover{
text-decoration: none;
color: black;
}
/* featured product style */
</style>
</head>
<body>
<button onclick="topFunction()" id="myBtn" title="Go to top"><i class="fa-solid fa-arrow-up-long"></i></button>
<!-- navigation bar -->
<!-- <section> -->
<nav class="navbar navbar-expand-lg navbar-light bg-white py-3 fixed-top">
<div class="container">
<a class="navbar-brand" href="index.html"><b>Brand.</b></a>
<!-- add logo here -->
<!-- size change navbar button -->
<button class="navbar-toggler" type="button" data-toggle="collapse" data-target="#navbarSupportedContent" aria-controls="navbarSupportedContent" aria-expanded="false" aria-label="Toggle navigation">
<span><i id="bar" class="fa-solid fa-bars"></i></span>
</button>
<div class="collapse navbar-collapse" id="navbarSupportedContent">
<ul class="navbar-nav ms-auto">
<li class="nav-item ">
<a class="nav-link" href="all_products/page_1.html">All Collections</a>
</li>
<li class="nav-item dropdown">
<a class="nav-link dropdown-toggle" href="#" id="navbarDropdown" role="button" data-bs-toggle="dropdown" aria-expanded="false">
Men
</a>
<ul class="dropdown-menu" aria-labelledby="navbarDropdown">
<li><a class="dropdown-item" href="#">jeans</a></li>
<li><a class="dropdown-item" href="#">pants</a></li>
<li><a class="dropdown-item" href="#">t-shirts</a></li>
<li><a class="dropdown-item" href="#">shoes</a></li>
</ul>
</li>
<li class="nav-item dropdown">
<a class="nav-link dropdown-toggle" href="#" id="navbarDropdown" role="button" data-bs-toggle="dropdown" aria-expanded="false">
women
</a>
<ul class="dropdown-menu" aria-labelledby="navbarDropdown">
<li><a class="dropdown-item" href="#">jeans</a></li>
<li><a class="dropdown-item" href="#">pants</a></li>
<li><a class="dropdown-item" href="#">t-shirts</a></li>
<li><a class="dropdown-item" href="#">shoes</a></li>
</ul>
</li>
<li class="nav-item dropdown">
<a class="nav-link dropdown-toggle" href="#" id="navbarDropdown" role="button" data-bs-toggle="dropdown" aria-expanded="false">
kids
</a>
<ul class="dropdown-menu" aria-labelledby="navbarDropdown">
<li><a class="dropdown-item" href="#">jeans</a></li>
<li><a class="dropdown-item" href="#">pants</a></li>
<li><a class="dropdown-item" href="#">t-shirts</a></li>
<li><a class="dropdown-item" href="#">shoes</a></li>
</ul>
</li>
<form class="d-flex">
<input id="src_box" class="form-control me-2 mr-2" type="search" placeholder="Search" aria-label="Search">
<button id="src_btn" class="btn btn-secondary btn-sm" type="submit">Search</i></button>
</form>
<li class="nav-item">
<a class="nav-link" href="cart.html">
<i class="fa-solid fa-cart-shopping mt-2"></i>
</a>
</li>
<li class="nav-item">
<a class="nav-link" href="user_profile.html">My profile</a>
</li>
</ul>
</div>
</div>
</nav>
<!-- top section -->
<!-- product shocase -->
<section class="container s_prdct my-5 pt-5">
<nav aria-label="breadcrumb">
<ol class="breadcrumb">
<li class="breadcrumb-item"><a href="#">Home</a></li>
<li class="breadcrumb-item"><a href="#">T-Shirt</a></li>
<li class="breadcrumb-item active" aria-current="page">Men's Sports T-Shirt</li>
</ol>
</nav>
<div class="row mt-1">
<!-- product image -->
<div class="col-lg-5 col-md-12 col-12">
<!-- <h6>Home / T-Shirt</h6> -->
<img class="img-fluid w-100 pb-2" src="p_img/men_tshirt1.jpg" id="main_img" alt="men_tshirt1">
<div class="small-img-group">
<div class="small-img-col">
<img src="p_img/men_tshirt2.jpg" width="100%" class="small-img" alt="">
</div>
<div class="small-img-col">
<img src="p_img/men_tshirt4.jpg" width="100%" class="small-img" alt="">
</div>
<div class="small-img-col">
<img src="p_img/men_tshirt1.jpg" width="100%" class="small-img" alt="">
</div>
<div class="small-img-col">
<img src="p_img/men_tshirt3.jpg" width="100%" class="small-img" alt="">
</div>
</div>
</div>
<!-- product info -->
<div class="col-lg-6 col-md-12 col-12">
<h3 class="py-2">Men's Sports T-Shirt</h3>
<h2>$156.00</h2>
<select class="my-3">
<option>Select Size</option>
<option>XL</option>
<option>XXL</option>
<option>Large</option>
<option>Small</option>
</select>
<input type="number" value="1">
<!-- <button class="buy-btn">
Add To Cart
</button> -->
<button type="button" class="btn btn-success">Add To Cart</button>
<h4 class="mt-3 mb-3">Product Details</h4>
<span>
Your busy day means you need to be ready to exercise at any time. We made the Advanced Performance System (A.P.S.) Top to answer the challenge with a smooth, stretchy and breathable feel that can be worn for your workout and beyond. Wear it on its own or as a layering piece to help you reach peak performance.
</span>
</div>
</div>
</section>
<!-- Featured Product Featured Product Featured Product Featured Product Featured Product Featured Product Featured Product Featured Product Featured Product -->
<section id="featured" class="my-5">
<div class="container text-center mt-2 py-5">
<h3 class="fs-1">Related Products</h3>
</div>
<div class="row mx-auto container-fluid">
<!-- for product -->
<div class="product mb-5 text-center col-lg-3 col-md-4 col-12">
<img class="img-fluid mb-3" src="p_img/kids_jacket1.jpg">
<div class="star">
<i class="fa-solid fa-star"></i>
<i class="fa-solid fa-star"></i>
<i class="fa-solid fa-star"></i>
<i class="fa-solid fa-star"></i>
<i class="fa-solid fa-star"></i>
</div>
<h5 class="p-name">
Kids T-shirt
</h5>
<h4 class="p-price">$29.00</h4>
<button class="buy-btn text-uppercase">buy now</button>
</div>
<!-- for product -->
<!-- for product -->
<div class="product mb-5 text-center col-lg-3 col-md-4 col-12">
<img class="img-fluid mb-3" src="p_img/women_jacket1.jpg">
<div class="star">
<i class="fa-solid fa-star"></i>
<i class="fa-solid fa-star"></i>
<i class="fa-solid fa-star"></i>
<i class="fa-solid fa-star"></i>
<i class="fa-solid fa-star"></i>
</div>
<h5 class="p-name">
Kids T-shirt
</h5>
<h4 class="p-price">$29.00</h4>
<button class="buy-btn text-uppercase">buy now</button>
</div>
<!-- for product -->
<!-- for product -->
<div class="product mb-5 text-center col-lg-3 col-md-4 col-12">
<a href="ProductPage_JM.html"><img class="img-fluid mb-3" src="p_img/men_tshirt2.jpg">
<div class="star">
<i class="fa-solid fa-star"></i>
<i class="fa-solid fa-star"></i>
<i class="fa-solid fa-star"></i>
<i class="fa-solid fa-star"></i>
<i class="fa-solid fa-star"></i>
</div>
<h5 class="p-name">
Mens T-shirt
</h5>
<h4 class="p-price">$29.00</h4>
<button class="buy-btn text-uppercase">buy now</button></a>
</div>
<!-- for product -->
<!-- for product -->
<div class="product mb-5 text-center col-lg-3 col-md-4 col-12">
<img class="img-fluid mb-3" src="p_img/tracksuit_1.jpg">
<div class="star">
<i class="fa-solid fa-star"></i>
<i class="fa-solid fa-star"></i>
<i class="fa-solid fa-star"></i>
<i class="fa-solid fa-star"></i>
<i class="fa-solid fa-star"></i>
</div>
<h5 class="p-name">
Kids T-shirt
</h5>
<h4 class="p-price">$29.00</h4>
<button class="buy-btn text-uppercase">buy now</button>
</div>
<!-- for product -->
</div>
</section>
<!-- footer section -->
<footer class="mt-5 py-5">
<div class="row container mx-auto pt-5">
<div class="footer-one col-lg-3 col-md-6 col-12 mb-5">
<h2>Brand.</h2>
<p>
<b>Brand.</b> is one of the unique online shopping sites in
Bangladesh where fashion is accessible to all. You can get your
hands on the <i>trendiest style</i> every season and also avail the best
of ethnic fashion during all <i>bengali festive occasions</i> in unbelievably
affordable range.
</p>
</div>
<div class="footer-one col-lg-3 col-md-6 col-12 mb-5 text-uppercase">
<h5 class="pb-3">Featured</h5>
<ul class=" list-unstyled">
<li><a href="#">books</a></li>
<li><a href="#">shirts</a></li>
<li><a href="#">formal pants</a></li>
<li><a href="#">jeans</a></li>
<li><a href="#">watches</a></li>
<li><a href="#">accessories</a></li>
<li><a href="#">shoes</a></li>
</ul>
</div>
<div class="footer-one col-lg-3 col-md-6 col-12 mb-5 text-uppercase">
<h5 class="pb-3">Contact us</h5>
<div>
<h6 class="text-uppercase">
<i class="fa-solid fa-location-dot"></i>
Address</h6>
<p>123 street name, dhaka, bangladesh</p>
</div>
<div>
<h6 class="text-uppercase">
<i class="fa-solid fa-phone"></i>
phone</h6>
<p>880-179-3711-207 (telephone)</p>
</div>
<div>
<h6 class="text-uppercase">
<i class="fa-solid fa-envelope"></i>
e-mail</h6>
<p>[email protected]</p>
</div>
</div>
<div class="footer-one col-lg-3 col-md-6 col-12 mb-2 text-uppercase">
<h5 class="pb-3">FOLLOW US</h5>
<ul class="text-uppercase list-unstyled">
<li><a href="#">
<i class="fa-brands fa-instagram"></i>
instagram</a></li>
<li><a href="#">
<i class="fa-brands fa-twitter"></i>
twitter</a></li>
<li><a href="#">
<i class="fa-brands fa-youtube"></i>
youtube</a></li>
<li><a href="#">
<i class="fa-brands fa-square-facebook"></i>
facebook</a></li>
</ul>
</div>
<div class="container-fluid text-right">
<p><a href="#">Privacy Policy</a> | <a href="#">Terms and Conditions</a></p>
</div>
<!-- copyright -->
<div>
<p>© 2022 <b>Brand.</b> Inc. All Rights Reserved</p>
</div>
</div>
</footer>
<!-- script links -->
<script src="https://cdn.jsdelivr.net/npm/@popperjs/[email protected]/dist/umd/popper.min.js" integrity="sha384-IQsoLXl5PILFhosVNubq5LC7Qb9DXgDA9i+tQ8Zj3iwWAwPtgFTxbJ8NT4GN1R8p" crossorigin="anonymous"></script>
<script src="https://cdn.jsdelivr.net/npm/[email protected]/dist/js/bootstrap.min.js" integrity="sha384-cVKIPhGWiC2Al4u+LWgxfKTRIcfu0JTxR+EQDz/bgldoEyl4H0zUF0QKbrJ0EcQF" crossorigin="anonymous"></script>
<!-- start -->
<script>
var main_img = document.getElementById('main_img');
var from_s = document.getElementsByClassName('small-img');
from_s[0].onclick = function(){
main_img.src = from_s[0].src;
}
from_s[1].onclick = function(){
main_img.src = from_s[1].src;
}
from_s[2].onclick = function(){
main_img.src = from_s[2].src;
}
from_s[3].onclick = function(){
main_img.src = from_s[3].src;
}
</script>
<script src="script.js"></script>
</body>
</html>