forked from anandsinghyadav/Ebay-Website-Clone
-
Notifications
You must be signed in to change notification settings - Fork 0
/
MFashion.html
607 lines (466 loc) · 19.8 KB
/
MFashion.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
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<title></title>
<meta name="description" content="">
<meta name="viewport" content="width=device-width, initial-scale=1">
<link rel="stylesheet" href="">
<link rel="stylesheet" href="style/MElectronics.css">
<link rel="stylesheet" href="style/Mahenav.css">
</head>
<body>
<div id="sc1">
<div id="sc11">
<h4 id="sc111">Hi! <a href="signin.html">Sign in</a> or <a href="register.html">register</a></h4>
<h4> <a href="" style="color:black; text-decoration: none; ">Daily Deals</a></h4>
<h4><a href="" style="color:black; text-decoration: none;">Help & Contact</a></h4>
</div>
<div id="sc12">
<h4>Sell </h4>
<h4>Watchlist <i class="fa-solid fa-angle-down"></i></h4>
<div id="helloMouse">
<h4 onclick="window.location.href='signin.html'">My eBay<i class="fa-solid fa-angle-down"></i></h4>
<div id="absolute_My_eBay">
<a href="">
<p>Summary</p>
</a>
<a href="">
<p>Recently Viewed</p>
</a>
<a href="">
<p> Bids/Offers</p>
</a>
<a href="watchlist.html">
<p>Watchlist</p>
</a>
<a href="">
<p>Purchase History</p>
</a>
<a href="">
<p>Buy Again</p>
</a>
<a href="">
<p>Selling</p>
</a>
<a href="saved.html">
<p>Saved Searches</p>
</a>
<a href="">
<p>Saved Sellers</p>
</a>
<a href="">
<p>Messages</p>
</a>
</div>
</div>
<div style="padding:3.5%;" id="sc121">
<i class="fa-solid fa-bell"></i>
<div id="sc122">
<h1>You are all caught up!</h1>
</div>
</div>
<div style="margin:5%;" id="sc13">
<i class="fa-solid fa-cart-shopping"></i>
<div id="sc131">
<h1>Your cart is empty</h1>
<h3>Time to start shopping!</h3>
</div>
</div>
</div>
</div>
<hr style="margin-top:-1%; color: #f1ebeb;">
<!--
1st nav bar ends here
-->
<div id="sc2">
<div id="sc21" onclick="window.location.href='index.html'">
<img src="https://upload.wikimedia.org/wikipedia/commons/thumb/1/1b/EBay_logo.svg/1200px-EBay_logo.svg.png"
alt="">
</div>
<div id="sc22">
<p>
Shop by category
</p>
<i class="fa-solid fa-angle-down"></i>
</div>
<div id="sc23">
<i class="fa-solid fa-magnifying-glass" style="margin-left: 5px;"></i>
<input type="text" name="" id="">
<div>
<button name="" id="">
All category
</button>
<i class="fa-solid fa-angle-down"></i>
</div>
</div>
<button>
Search
</button>
</div>
<div id="sc3">
<hr>
</div>
<div></div>
<div id="pmcontainer">
<h1>Fashion</h1>
<div id="mcontainer">
<div id="msidebar">
<div class="mcategory" onclick="mcategoryclicked(0)">
<div>
Baby
</div>
<div>
</div>
</div>
<div class="mcategoryul">
<ul>
<li>See all in Baby</li>
<li>Baby & Toddler Clothing</li>
<li>Baby Accessories</li>
<li>Baby Shoes</li>
<li>Costume, Oc </li>
</ul>
</div>
<div class="mcategory" onclick="mcategoryclicked(1)">
<div>
Costume, Occasion & Specialized Clothing, Shoes & Accessories
</div>
<div>
</div>
</div>
<div class="mcategoryul">
<ul>
<li>See all in Costume, Occasion & Specialized Clothing, Shoes & Accessories</li>
<li>Clothing & Shoe Care Products</li>
<li>Costume, Reenactment & Theater Apparel</li>
<li>Dancewear</li>
<li>Uniforms & Work Clothing </li>
</ul>
</div>
<div class="mcategory" onclick="mcategoryclicked(2)">
<div>
Jewelry
</div>
<div></div>
</div>
<div class="mcategoryul">
<ul>
<li>See all in Jewelry</li>
<li>Engagement & Wedding Jewelry</li>
<li>Ethnic, Regional & Tribal Jewelry</li>
<li>Fashion Jewelry</li>
<li>Fine Jewelry</li>
<li>Handcrafted & Artisan Jewelry</li>
<li>Jewelry Care, Design & Repair</li>
<li>Kids' Jewelry</li>
</ul>
</div>
<div class="mcategory" onclick="mcategoryclicked(3)">
<div>
Kids
</div>
<div></div>
</div>
<div class="mcategoryul">
<ul>
</li>
<li>See all in Kids</li>
<li>Boys</li>
<li>Girls</li>
<li>Kids' Backpacks & Bags</li>
<li>Unisex Kids</li>
</ul>
</div>
<div class="mcategory" onclick="mcategoryclicked(4)">
<div>
Men's Accessories
</div>
<div>^</div>
</div>
<div class="mcategoryul">
<ul>
<li> See all in Men's Accessories</li>
<li>Men's Accessory Sets</li>
<li>Men's Bags</li>
<li>Men's Belt Buckles</li>
<li>Men's Belts</li>
<li>Men's Collar Stays</li>
<li>Men's Gloves & Mittens</li>
<li>Men's Handkerchiefs</li>
<li>Men's Hats</li>
</ul>
</div>
<div class="mcategory" onclick="mcategoryclicked(5)">
<div>
Men's Clothing
</div>
<div></div>
</div>
<div class="mcategoryul">
<ul>
<li>See all in Men's Clothing</li>
<li>Men's Activewear</li>
<li>Men's Coats, Jackets & Vests</li>
<li>Men's Jeans</li>
<li>Men's Pants</li>
<li>Men's Shirts</li>
<li>Men's Shorts</li>
</ul>
</div>
<div class="mcategory" onclick="mcategoryclicked(6)">
<div>
Men's Shoes
</div>
<div></div>
</div>
<div class="mcategoryul">
<ul>
<li>See all in Men's Shoes</li>
<li>Men's Boots</li>
<li>Men's Casual Shoes</li>
<li>Men's Dress Shoes</li>
<li>Men's Sandals</li>
<li>Men's Slippers</li>
<li>Sneakers for Men</li>
</ul>
</div>
<div class="mcategory" onclick="mcategoryclicked(7)">
<div>
Watches, Parts & Accessories
</div>
<div></div>
</div>
<div class="mcategoryul">
<ul>
<li>See all in Watches, Parts & Accessories</li>
<li>Watch Accessories</li>
<li>Watch Parts, Tools & Guides</li>
<li>Watches</li>
<li>Watches Mixed Lots</li>
<li>Women's Accessorie</li>
</ul>
</div>
<div class="mcategory" onclick="mcategoryclicked(8)">
<div>
Women's Accessories
</div>
<div></div>
</div>
<div class="mcategoryul">
<ul>
<li>See all in Women's Accessories</li>
<li>Women's Accessory Sets</li>
<li>Women's Belt Buckles</li>
<li>Women's Belts</li>
<li>Women's Fascinators & Headpieces</li>
<li>Women's Gloves & Mittens</li>
</ul>
</div>
<div class="mcategory" onclick="mcategoryclicked(9)">
<div>
Women's Clothing
</div>
<div></div>
</div>
<div class="mcategoryul">
<ul>
<li>See all in Women's Clothing</li>
<li>Intimates & Sleepwear</li>
<li>Women's Activewear</li>
<li>Women's Coats, Jackets & Vests</li>
<li>Women's Dresses</li>
<li>Women's Hosiery & Socks</li>
<li>Women's Jeans</li>
</ul>
</div>
<div class="mcategory" onclick="mcategoryclicked(10)">
<div>
Women's Clothing
</div>
<div></div>
</div>
<div class="mcategoryul">
<ul>
<li>See all in Women's Shoes</li>
<li>Women's Bootsr</li>
<li>Women's Comfort Shoes</li>
<li>Women's Heels</li>
<li>Women's Sandals</li>
<li>Women's Slippers</li>
<li>Women's Sneakers</li>
</ul>
</div>
</div>
<div id="mmain">
<div>
<h2>Shop By Category</h2>
</div>
<div id="pmitemImages">
<div class="mitemImages">
<img src="https://i.ebayimg.com/thumbs/images/g/7aYAAOSwSLpgNOEK/s-l225.webp" alt="">
Men's Clothing
</div>
<div class="mitemImages">
<img src="https://i.ebayimg.com/thumbs/images/g/uzoAAOSw7VRgNOET/s-l225.webp" alt="">
Men's Shoes
</div>
<div class="mitemImages">
<img src="https://i.ebayimg.com/thumbs/images/g/DBcAAOSwU5ZgNOEY/s-l225.webp" alt="">
Men's Accessories
</div>
<div class="mitemImages">
<img src="https://i.ebayimg.com/thumbs/images/g/04UAAOSwrmZgNOEj/s-l225.webp" alt="">
Watches, Parts & Accessories
</div>
<div class="mitemImages">
<img src="https://i.ebayimg.com/thumbs/images/g/QMwAAOSwAjZgNOEo/s-l225.webp" alt="">
Kids' Clothing, Shoes & Accessories
</div>
<div class="mitemImages">
<img src="https://i.ebayimg.com/thumbs/images/g/hC8AAOSwXbNgNOEz/s-l225.webp" alt="">
Women's Clothing
</div>
<div class="mitemImages">
<img src="https://i.ebayimg.com/thumbs/images/g/oOQAAOSw5iJgNOE4/s-l225.webp" alt="">
Women's Shoes
</div>
<div class="mitemImages">
<img src="https://i.ebayimg.com/thumbs/images/g/klgAAOSwO9VgNOFA/s-l225.webp" alt="">
Women's Accessories
</div>
<div class="mitemImages">
<img src="https://i.ebayimg.com/thumbs/images/g/g7EAAOSwthlgNOFG/s-l225.webp" alt="">
Women's Bags & Handbags
</div>
<div class="mitemImages">
<img src="https://i.ebayimg.com/thumbs/images/g/tREAAOSwJ61gNOFL/s-l225.webp" alt="">
Jewelry
</div>
</div>
<div>
<h2><strong>Dress to Impress</strong></h2>
<p> Dress to impress and make the best of every day no matter what it has in store. With fashions
hottest must haves and accessories, you can find what youve been looking for on eBay.
</p>
<h2><strong>Fashionably Perfect</strong></h2>
<p>The stylish range of mens and womens clothing and shoes sizzle from head to toe, no matter the
season. Its easier than ever to browse handbags, watches, and special occasion outfits by style,
brand, or price. Search on eBay for womens fashion, mens fashion, clothes, shoes, handbags,
jewelry, watches, jackets and more.
</p>
<h2><strong>Top Fashion Brands</strong></h2>
<p>If brands are your thing, you can surf eBay to find handbags by Vera Bradley, watches by Rolex,
athletic apparel by Nike, shoes from Nine West, jackets from Michael Kors, and shoes from Puma.
Its all here in the eBay Fashion Department.
</p>
<h2><strong>Mens Fashion</strong></h2>
<p>Dont skimp when it comes to menswear that looks sharp and stylish. Beef up your closet with
fashionable jeans, sweaters, and suits. eBay has a selection of accessories to fit your fancy,
including hats, ties, wallets, and sunglasses. Grab a new briefcase for work or find the perfect
backpack that holds all of your hiking supplies.
</p>
<h2><strong>Womens Fashion</strong></h2>
<p>Browse the wide selection of style pieces on eBay, and unearth a world of trendy treasures for
women and girls. Check out boots, heels, sandals, and athletic footwear that will keep you and
your entire family moving year round. You can find sales that include top picks for
fashionistas, or discover daily deals that add oomph to your closet without breaking the bank.
</p>
<h2><strong>Shopping is Fun!</strong></h2>
<p>Take the strain out of shopping with eBay. Find great deals on classy clothing, stylish shoes,
haute handbags, and jazzy jewelry. There are fashions and accessories for men, women, children,
and babies so start shopping now.
Enjoy everyday low prices and free shipping with eBay Deals. Don’t forget to check out eBay
Coupons for upcoming promotions. </p>
</div>
<div></div>
</div>
</div>
<div>
<footer>
<div></div>
<h2></h2>
<div>
</div>
<div id="pfooterdiv">
<div id="footerdiv">
<div>About</div>
<div>eBay</div>
<div>Announcements</div>
<div>Community</div>
<div>Security</div>
<div>CenterSeller</div>
<div>Information</div>
<div>CenterPolicies</div>
<div>AffiliatesHelp &
ContactSite Map</div>
</div>
<div>
<a href="">Copyright ©</a> 1995-2022 eBay Inc. All Rights Reserved. <a
href="">Accessibility,</a>
<a href="">User</a><a href="">Agreement,</a><a href="">Privacy,</a><a href="">Cookies,</a>
<a href="">Do not sell my personal information and AdChoice</a>
</div>
</div>
</footer>
</div>
</div>
</body>
<script>
let mcategoryul = document.querySelectorAll(".mcategoryul");
let i = 0;
function mcategoryclicked(a) {
mcategoryul[i].style.display = "none";
mcategoryul[a].style.display = "block";
i = a;
}
</script>
<script>
let arrscript2 = document.querySelectorAll("ul");
console.log(arrscript2);
for (let i = 0; i < arrscript2.length; i++) {
for (let j = 0; j < arrscript2[i].children.length; j++) {
arrscript2[i].children[j].addEventListener("click", function () {
// console.log(arrscript2[i].children[j].innerText);
let searchTerm = arrscript2[i].children[j].innerText;
console.log(searchTerm);
localStorage.setItem("search_term", searchTerm);
window.location.href = "MahiArt.html";
});
}
}
</script>
<script>
let shubham001 = document.querySelector("#sc23 > input[type=text]")
shubham001.addEventListener("keypress", function (event) {
if (event.code == "Enter") {
localStorage.setItem("search_term", shubham001.value);
window.location.href = "MahiArt.html";
}
})
document.querySelector("#sc2 > button").addEventListener("click", function (event) {
localStorage.setItem("search_term", shubham001.value)
window.location.href = "MahiArt.html"
})
</script>
<script>
let flagfornav = JSON.parse(localStorage.getItem("flagforindex"))
let logindata = JSON.parse(localStorage.getItem("loginData"))
let namefornav = logindata[0].name
console.log(flagfornav)
if (flagfornav == true) {
console.log(namefornav)
document.querySelector("#sc111").textContent = namefornav
}
</script>
<script>
let msms = document.querySelectorAll(".mitemImages");
for (let i = 0; i < msms.length; i++) {
msms[i].addEventListener("click", function () {
localStorage.setItem("search_term", msms[i].innerText);
window.location.href = "MahiArt.html";
});
}
</script>
</html>