-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
97 lines (94 loc) · 4 KB
/
index.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
<!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">
<title>Start Page</title>
<link rel="stylesheet" href="cssmanger/homepage.css">
<link rel="stylesheet" href="cssmanger/login.css">
<link rel="stylesheet" href="cssmanger/ss.css">
<script src="jsmanger/ss.js" defer></script>
</head>
<body>
<header>
<div>
<span>Brandnamespace</span>
<span>
<input type="text" placeholder="Search...">
<input type="submit" value="Search">
</span>
<span>
<button class="btnlog" onclick="document.getElementById('id01').style.display='block'" style="width:auto;">Login</button>
</span>
</div>
</header>
<main>
<section id="ss">
<!-- Slideshow container -->
<div class="slideshow-container">
<!-- Full-width images with number and caption text -->
<div class="mySlides fade">
<div class="numbertext">1 / 3</div>
<img src="compic/ss1.webp" loading="lazy" style="width:100%">
<div class="text">Caption Text</div>
</div>
<div class="mySlides fade">
<div class="numbertext">2 / 3</div>
<img src="compic/ss2.webp" loading="lazy" style="width:100%">
<div class="text">Caption Two</div>
</div>
<div class="mySlides fade">
<div class="numbertext">3 / 3</div>
<img src="compic/ss3.webp" loading="lazy" style="width:100%">
<div class="text">Caption Three</div>
</div>
<!-- Next and previous buttons -->
<a class="prev" onclick="plusSlides(-1)">❮</a>
<a class="next" onclick="plusSlides(1)">❯</a>
</div>
<br>
<!-- The dots/circles -->
<div style="text-align:center">
<span class="dot" onclick="currentSlide(1)"></span>
<span class="dot" onclick="currentSlide(2)"></span>
<span class="dot" onclick="currentSlide(3)"></span>
</div>
</section>
<hr>
<section>
<nav>
<div class="tab">
<button class="tablinks" onclick="device(event, 'ShopAll')">SHOP ALL</button>
<button class="tablinks" onclick="device(event, 'Computers')">Computers</button>
<button class="tablinks" onclick="device(event, 'Laptops')">Laptops</button>
<button class="tablinks" onclick="device(event, 'Tablets')">Tablets</button>
<button class="tablinks" onclick="device(event, 'DroCam')">Drones and Cameras</button>
<button class="tablinks" onclick="device(event, 'Mobile')">Mobile</button>
</div>
</nav>
<hr>
<!-- Tab content -->
<div id="ShopAll" class="tabcontent">
<h3>Computers</h3>
<iframe src="stml/pcomputerlist.html" frameborder="0"></iframe>
<!-- Other content... -->
</div>
<!-- Additional tab content divs... -->
</section>
</main>
<footer style="color: aliceblue; background-color: black;">
<a href="">About Us</a>
<a href="">Contact Us</a>
<a href="">FAQ</a>
</footer>
<script>
function device(evt, deviceName) {
document.querySelectorAll(".tabcontent").forEach(tab => tab.style.display = "none");
document.querySelectorAll(".tablinks").forEach(tablink => tablink.classList.remove("active"));
document.getElementById(deviceName).style.display = "block";
evt.currentTarget.classList.add("active");
}
</script>
</body>
</html>