-
Notifications
You must be signed in to change notification settings - Fork 0
/
alternate-pulley.html
169 lines (118 loc) · 5.2 KB
/
alternate-pulley.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
<!DOCTYPE html>
<html lang="en">
<head>
<link rel="stylesheet" href="timing-belt.css">
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Alternate Pulley</title>
<link rel="stylesheet" href="https://fonts.googleapis.com/icon?family=Material+Icons">
<link rel="stylesheet" href="https://fonts.googleapis.com/css?family=Audiowide">
</head>
<body>
<div class="navA">
<table>
<tr>
<td><a vlaue="a" href="home.html" class="logo">Autocare</a></td>
<td><a class="active" href="home.html">Home</a></td>
<td><a href="#news">News</a></td>
<td><a href="#contact">Contact</a></td>
<td><a href="aboutus.html">About</a></td>
<td>
<div class="searchA">
<input type="search" placeholder="search here..."><button type="button" value="searA"><img src="search.jpg"></button>
</div>
</td>
<td>
<a href="signin.html" id="sinin">Sign in</a>
</td>
<td>
<a href="address.html"><button type="button" value="cart"><img src="cart.jpg"></button></a>
</td>
</tr>
</table>
</div>
<div class="sidenav">
<button class="dropdown1">Maintenance Service Parts </button>
<div class="dropdown-container">
<a href="timing-belt.html">Belt</a>
<a href="timing-belt.html">Brake </a>
<a href="timing-belt.html">Engine</a>
</div>
<button class="dropdown1">Air Conditioner </button>
<div class="dropdown-container">
<a href="ac-compressor.html">AC Compressor</a>
<a href="ac-compressor.html">AC Compressor Clutch</a>
</div>
<button class="dropdown1">Belts Chains and Rollers </button>
<div class="dropdown-container">
<a href="alternate-pulley.html">Alternator Pulley</a>
<a href="alternate-pulley.html">Belt Pulley</a>
</div>
<button class="dropdown1">Bearings </button>
<div class="dropdown-container">
<a href="bearing.html">Alternator Bearing</a>
<a href="bearing.html">Bearing Pulley</a>
</div>
<button class="dropdown1">Body </button>
<div class="dropdown-container">
<a href="body.html">Exterior</a>
<a href="body.html">Interior </a>
</div>
</div>
<div class="items">
<table class="item-table" cellspacing="25" >
<h1 style=text-align:left><span class="dark">Belts Chains > </span><span class="light">Alternate Pulley</span></h1>
<tr><td><a href="http://localhost:3000/alternatepulley.html">
<img src="g.jpg" width="223.75px" height="180.5px"><br><p class="name">Alternate Pulley</p><p class="price">₹750</p>
<p ><button class="add"><img src="shopping-cart.png" width="20px" height="auto"><p>Add To Cart</p></button></p>
</a>
</td>
<td><a href="http://localhost:3000/alternatepulley2.html">
<img src="h.jpg" width="223.75px" height="180.5px"><br><p class="name">Alternate Pulley</p><p class="price">₹999</p>
<p ><button class="add"><img src="shopping-cart.png" width="20px" height="auto"><p>Add To Cart</p></button></p>
</a>
</td>
<td><a href="http://localhost:3000/alternatepulley3.html">
<img src="i.jpg" width="223.75px" height="180.5px"><br><p class="name">Alternate Pulley</p><p class="price">₹855</p>
<p ><button class="add"><img src="shopping-cart.png" width="20px" height="auto"><p>Add To Cart</p></button></p>
</a>
</td>
</tr>
</table>
</div>
<script>
var dropdown1 = document.getElementsByClassName("dropdown1");
var i;
for (i = 0; i < dropdown1.length; i++) {
dropdown1[i].addEventListener("click", function() {
this.classList.toggle("active");
var dropdownContent = this.nextElementSibling;
if (dropdownContent.style.display === "block") {
dropdownContent.style.display = "none";
} else {
dropdownContent.style.display = "block";
}
});
}
var dropdown2 = document.getElementsByClassName("dropdown2");
var i;
for (i = 0; i < dropdown2.length; i++) {
dropdown2[i].addEventListener("click", function() {
this.classList.toggle("active");
var dropdownContent = this.nextElementSibling;
if (dropdownContent.style.display === "block") {
dropdownContent.style.display = "none";
} else {
dropdownContent.style.display = "block";
}
});
}
function openNav() {
document.getElementById("mySidenav").style.width = "250px";
}
function closeNav() {
document.getElementById("mySidenav").style.width = "0";
}
</script>
</body>
</html>