forked from anandsinghyadav/Ebay-Website-Clone
-
Notifications
You must be signed in to change notification settings - Fork 0
/
MSmartWatches2.html
732 lines (605 loc) · 29.2 KB
/
MSmartWatches2.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
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
<!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="style/MSmartWatches.css">
<link rel="stylesheet" href="style/MSmartwatch.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>Electronics</h1>
<div id="mcontainer">
<div id="msidebar">
<div class="mcategory">
<div>
Cell Phones & Accessories
</div>
<div>
</div>
</div>
<div class="mcategoryul">
<!-- <ul>
<li>See all in Cameras & Photo</li>
<li>Binoculars & Telescopes</li>
<li>Camcorders</li>
<li>Camera & Photo Mixed Lots</li>
<li>Camera Drones</li>
<li>Camera Flashes & Flash Accessories</li>
<li>Camera Lenses & Filters</li>
<li>Camera Manuals & Guides</li>
<li>Camera Replacement Parts & Tools</li>
<li>Camera, Drone & Photo Accessories</li>
<li>Digital Cameras</li>
<li>Digital Photo Frames</li>
<li>Film Photography Equipment</li>
<li>Lighting & Studio</li>
<li> Other Cameras & Photography Equipment</li>
<li>Tripods & Stands</li>
<li>Video Production & Editing Equipment</li>
<li>Vintage Movie & Photography Equipment</li>
</ul> -->
</div>
<div class="mcategory">
<div>
Smart Watches
</div>
<div></div>
</div>
<div class="mcategoryul">
<!-- <ul>
<li>See all in Cell Phones, Smart Watches & Accessories</li>
<li>Cell Phone Accessories</li>
<li>Cell Phone Screens</li>
<li>Cell Phones & Accessories Mixed Lots</li>
<li>Cell Phones & Smartphones</li>
<li>PDA Accessories</li>
<li>PDAs</li>
<li>Portable Audio</li>
<li>SIM Cards & Phone Cards</li>
<li>Smart Watch Accessories</li>
<li>Smart Watches</li>
<li>Vintage Cell Phones</li>
</ul> -->
</div>
<div class="mcategory">
<div>
Cell Phones & Smartphones
</div>
<div></div>
</div>
<div class="mcategoryul">
<!-- <ul>
</li>
<li>See all in Computers, Tablets & Network Hardware</li>
<li>3D Printers & Supplies</li>
<li>Computer & Tablet Manuals</li>
<li>Computer Cables & Connectors</li>
<li>Computer Monitors, Projectors & Accessories</li>
<li>Computer Software</li>
<li>Computer Storage & Hard Drives</li>
<li>Computer Wholesale Lots</li>
<li>Computers, Tablets & Network Equipment, Parts & Accessories</li>
<li>Desktops & All-In-One Computers</li>
<li>Keyboards & Mice</li>
<li>Laptop & Desktop Accessories</li>
<li>Laptops & Netbooks</li>
<li>Parts & Components</li>
<li>Power Protection & Distribution Units</li>
<li>Printers, Scanners & Supplies</li>
<li>Routers & Home Network Equipment</li>
<li>Servers & IT Infrastructure</li>
<li>Tablet & eReader Parts</li>
<li>Tablet Accessories</li>
<li>Tablets & eReaders</li>
<li>Vintage Computers, Parts & Accessories</li>
</ul> -->
</div>
<div class="mcategory">
<div>
Smart Watch Accessories
</div>
<div>^</div>
</div>
<div class="mcategoryul">
<!-- <ul>
<li> See all in Gaming</li>
<li>Cheats & Strategy Guides</li>
<li>Consoles</li>
<li>Prepaid Gaming Cards</li>
<li>Replacement Parts & Tools</li>
<li>Video Game & Console Mixed Lots</li>
<li>Video Game Accessories</li>
<li>Video Game Cases & Boxes</li>
<li>Video Game Manuals, Inserts & Box Art</li>
<li>Video Game Merchandise</li>
<li>Video Games</li>
</ul> -->
</div>
<div class="mcategory">
<div>
Cell Phone Accessories
</div>
<div></div>
</div>
<div class="mcategoryul">
<!-- <ul>
<li>See all in Home Surveillance Systems</li>
<li>CCTV Systems</li>
<li>Dummy Cameras</li>
<li>Home Sensors & Motion Detectors</li>
<li>Home Surveillance Parts & Accessories</li>
<li>IP Security Camera Systems</li>
<li>Security Cameras</li>
</ul> -->
</div>
<div class="mcategory">
<div>
Display Phones
</div>
<div></div>
</div>
<div class="mcategoryul">
<!-- <ul>
<li>See all in Major Appliances</li>
<li>Dishwashers</li>
<li>Major Appliances Parts</li>
<li>Other Major Home Appliances</li>
<li>Ranges & Cooking Appliances</li>
<li>Refrigerators, Freezers, Parts & Accessories</li>
<li>Washers, Dryers, Parts & Accessories</li>
</ul> -->
</div>
<div class="mcategory">
<div>
PDAs
</div>
<div></div>
</div>
<div class="mcategoryul">
<!-- <ul>
<li>See all in Portable Audio</li>
<li>Audio Player Docks & Mini Speakers</li>
<li>Boomboxes</li>
<li>Headphone Accessories</li>
<li>Headphone Parts</li>
<li>Headphones</li>
<li>MP3 Players</li>
<li>MiniDisc Players</li>
<li>Portable Audio Accessories</li>
<li>Portable Audio Replacement Parts & Tools</li>
<li>Portable CD Players</li>
<li>Portable Cassette Players</li>
<li>Portable Radios</li>
<li>Portable Satellite Radios</li>
</ul> -->
</div>
<div class="mcategory">
<div>
PDA Accessories
</div>
<div></div>
</div>
<div class="mcategoryul">
<!-- <ul>
<li>See all in Smart Home Devices</li>
<li>Home Surveillance Systems</li>
<li>Other Smart Home Electronics</li>
<li>Smart Plugs</li>
<li>Smart Speakers, Hubs &</li>
</ul> -->
</div>
<div class="mcategory">
<div>
Phone Cards & SIM Cards
</div>
<div></div>
</div>
<div class="mcategoryul">
<!-- <ul>
<li>See all in TV, Video & Home Audio Electronics</li>
<li>Home Audio Systems</li>
<li>Media Streamers</li>
<li>Other TV, Video & Home Audio Equipment</li>
<li>TV & Video Equipment</li>
<li>TV, Video & Audio Accessories</li>
<li>TV, Video & Audio Parts</li>
</ul> -->
</div>
<div class="mcategory">
<div>
Cell Phone & Smartphone Parts
</div>
<div></div>
</div>
<div class="mcategoryul">
<!-- <ul>
<li>See all in Vehicle Electronics</li>
<li>Car Alarms & Security</li>
<li>Car Audio</li>
<li>Car Audio & Video Installation Equipment</li>
<li>Car Electronics Accessories</li>
<li>Car Gadgets</li>
<li>Car Video Monitors & Equipment</li>
<li>GPS Navigators</li>
<li>GPS Trackers & Accessories</li>
<li>Marine Audio</li>
<li>Other Vehicle Electronics & GPS</li>
<li>Radar Detectors</li>
</ul> -->
</div>
<div class="mcategory">
<div>
Vintage Cell Phones
</div>
<div></div>
</div>
<div class="mcategoryul">
<!-- <ul>
<li>See all in Virtual Reality</li>
<li>Other Virtual Reality Accessories</li>
<li>Smartphone VR Headsets</li>
<li>Standalone VR Headsets</li>
<li>VR Cases, Covers & Skins</li>
<li>VR Controllers & Motion Sensors</li>
<li>VR Headset, Controller & Sensor Parts</li>
<li>VR Headsets</li>
</ul> -->
</div>
</div>
<div id="mmain">
<div>
<h2>Shop By Category</h2>
</div>
<button style="font-size:20px" id="mscrollleft">
<img src="https://spng.pngfind.com/pngs/s/56-567931_free-png-download-left-arrow-key-png-images.png"
style="max-width: 25px;" alt="">
</button>
<button style="font-size:20px" id="mscrollright">
<img src="https://www.pngfind.com/pngs/m/77-772979_left-arrow-more-than-icon-png-transparent-png.png"
style="max-width: 25px;" alt="">
</button>
<div id="pmitemImages">
<div class="mitemImages">
<img src="https://i.ebayimg.com/thumbs/images/g/9TwAAOSwEKNZwLsb/s-l225.webp" alt="">
Apple
</div>
<div class="mitemImages">
<img src="https://i.ebayimg.com/thumbs/images/g/7n8AAOSwvWFfsjQr/s-l225.webp" alt="">
Motorola
</div>
<div class="mitemImages">
<img src="https://i.ebayimg.com/thumbs/images/g/ixkAAOSwFNZW0vNs/s-l225.webp" alt="">
Pebble
</div>
<div class="mitemImages">
<img src="https://i.ebayimg.com/thumbs/images/g/3O8AAOSwIQdZJXg9/s-l225.webp" alt="">
Samsung
</div>
<div class="mitemImages">
<img src="https://i.ebayimg.com/thumbs/images/g/FYoAAOSw2gxYvAw2/s-l225.webp" alt="">
Sony
</div>
<div class="mitemImages">
<img src="https://i.ebayimg.com/thumbs/images/g/q9QAAOSwgPtfsjRh/s-l225.webp" alt="">
Fossil
</div>
<div class="mitemImages">
<img src="https://i.ebayimg.com/thumbs/images/g/xU4AAOSw8w1X3l8-/s-l225.webp" alt="">
Huawei
</div>
<div class="mitemImages">
<img src="https://i.ebayimg.com/thumbs/images/g/bs4AAOSwX1xfsjQf/s-l225.webp" alt="">
Xiaomi
</div>
<div class="mitemImages">
<img src="https://i.ebayimg.com/thumbs/images/g/ipwAAOSwB4NW0vNq/s-l225.webp" alt="">
Garmin
</div>
<div class="mitemImages">
<img src="https://i.ebayimg.com/thumbs/images/g/rmoAAOSwdjdaBBrW/s-l225.webp" alt="">
Fitbit
</div>
</div>
<div>
<h2><strong>Electronics on eBay</strong></h2>
<p> From smartphones and laptops to cameras, TVs and video game consoles you can find the hottest
electronics on eBay. Sellers offer a huge selection of brand new products and collector's items,
many of which are difficult to find anywhere else. Pair that with competitive pricing and you've
got
the ultimate online marketplace for electronics.</p>
<h2><strong>Video Game Consoles and Games</strong></h2>
<p>Whether you're an Xbox Series X fan or have sworn your allegiance to the PS5 camp, you'll find
the
video game consoles and video games you want on eBay. Interested in the Nintendo Switch or
Nintendo
Switch Lite? We've got them.
With so many sellers offering new and used games, building up your library is easy. From the
latest
first-person shooters like Call of Duty: Black Ops Cold War to more traditional platformers and
everything in between, there are plenty of games waiting for you.
eBay has long been a favorite of retro gamers in search of classic consoles and titles. If you
find
yourself nostalgic for the days of 8-bit, 16-bit, or 32-bit gaming, we suggest you explore all
that
eBay has to offer, including Super Nintendo games and SEGA Genesis cartridges.</p>
<h2><strong>Smartphones and Smart Watches</strong></h2>
<p>Today's smartphones pack a ton of computing power into a small package, allowing you to send
emails,
share photos, and even work on your upcoming presentation while you're on the go. eBay sellers
offer
a variety of cell phones, smart watches, and accessories. All the big names are here, from the
Apple
iPhone to the latest Samsung phone. You can even find unlocked phones for use with various
carriers.</p>
<h2><strong>Laptops, Tablets, and Desktop Computers</strong></h2>
<p>Need a more robust computing solution than a smartphone? eBay is a great place to find affordable
laptops, tablets, and desktop computers. Whether you prefer a MacBook or PC laptop, we don't
play
favorites! Our huge inventory offers great new and used computers for the home or office. We've
even
got high-powered gaming rigs.</p>
<h2><strong>Digital Cameras: DSLRs, Point-and-Shoot and More</strong></h2>
<p>Capture all of life's special moments, from baby's first steps to her graduation, with
high-quality
digital cameras, film cameras, and camcorders. From top-of-the-line DSLR cameras that offer the
highest resolution to point-and-shoot film cameras, the inventory on eBay is sure to have a
camera
that meets your needs, including used and refurbished models at spectacular prices.
Want to capture something a little more adventurous, like a white-water rafting trip or
skydiving
experience? Check out GoPro cameras that strap onto a helmet or the front of your bike. Camera
drones offer a fun and unique experience with their remote controlled cameras flying high into
the
sky.</p>
<h2><strong>TVs and Home Theaters</strong></h2>
<p>With massive, high-resolution screens and incredible speaker systems, you truly can bring the
movie
theater home. OLED, LED, and LCD screens provide an at-home experience that rivals the best
cinemas.
Don't forget that used TVs and home theater speaker systems can keep you entertained at an
affordable price.</p>
<h2><strong>Smart shopping with eBay Refurbished</strong></h2>
<p>eBay Refurbished is your budget-stretching secret weapon. eBay offers the best value on the
biggest
selection of refurbished products from exceptional sellers with warranties as good as or
superior to
what's offered on brand-new products.Because everyone should be empowered to get the exact
products
they want in the right condition at the right price so their dollars go further.
Certified Refurbished: The item is in pristine, like-new condition, backed by a two-year
warranty.
It has been professionally inspected, cleaned, and refurbished by the manufacturer or a
manufacturer-approved vendor to meet manufacturer specifications. The item will be in new
packaging
with original or new accessories.
Excellent Refurbished: The item is in like-new condition, backed by a one year warranty. It has
been
professionally refurbished, inspected and cleaned to excellent condition by qualified sellers.
The
item includes original or new accessories and will come in new generic packaging.
Very Good Refurbished: The item shows minimal wear and is backed by a one year warranty. It is
fully
functional and has been professionally refurbished, inspected and cleaned to very good condition
by
qualified sellers. The item includes original or new accessories and will come in new generic
packaging.
Good Refurbished: The item shows moderate wear and is backed by a one year warranty. It is fully
functional and has been professionally refurbished, inspected and cleaned to good condition by
qualified sellers. The item includes original or new accessories and will come in a new generic
packaging.
Industry-leading Warranty and 30 day returns Included in Every Purchase
eBay has partnered with Allstate to include an award winning warranty in every box. So you're
covered in the event your item breaks or malfunctions. Learn more about ebay refurbished
warranty
coverage.
eBay Refurbished items can be returned or replaced for free within 30 days of receiving them.
Only a
select group of eBay sellers can participate in the program, and we monitor their performance to
ensure they live up to the highest standards of customer service. Learn more about the perks of
shopping eBay Refurbished.
<h2><strong> More Ways to Save with eBay</strong></h2>
<p>Nab new tech for the lowest prices and stock up on savings when it comes to devices as well as
accessories including phone chargers, memory cards, and everything you require to maximize your
electronics experience. Opt for brand names for budget deals, including Apple, Sony, Nintendo,
Samsung, Alienware and HP, and get the latest electronics at the most affordable prices. Stay
plugged in to new releases and add a futuristic feel to your home, car, or office with plenty of
products at the prices you want. Check eBay for new or used electronics and get everything you
need
in one place, from smart home devices to virtual reality gear. Tune in, turn on, and try today's
tech without breaking the bank.
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>
<div id="footerpart">
</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;
}
let eee;
let slider = document.querySelector("#pmitemImages");
document.querySelector("#mscrollright").addEventListener("click", function () {
//document.querySelector("#pmitemImages").scrollBy(100, 0);
eee = 250;
let s = setInterval(() => {
eee--;
if (eee < 1) {
clearInterval(s);
}
slider.scrollBy(3, 0);
}, 5);
});
document.querySelector("#mscrollleft").addEventListener("click", function () {
//document.querySelector("#pmitemImages").scrollBy(-100, 0);
eee = 250;
let s = setInterval(() => {
eee--;
if (eee < 1) {
clearInterval(s);
}
slider.scrollBy(-3, 0);
}, 5);
});
</script>
<script>
let arrscript2 = document.querySelectorAll(".mcategory");
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";
});
}
}
let arrscript23 = document.querySelectorAll(".mitemImages");
console.log(arrscript23);
for (let i = 0; i < arrscript23.length; i++) {
arrscript23[i].addEventListener("click", function () {
// console.log(arrscript23[i].children[j].innerText);
let searchTerm = arrscript23[i].innerText;
console.log(searchTerm);
localStorage.setItem("search_term", searchTerm);
window.location.href = "MahiArt.html";
});
}
</script>
<script type="module">
import { footer } from "./Mfooter2/footer.js"
var x = footer()
document.getElementById("footerpart").innerHTML = x
</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>
</html>