-
Notifications
You must be signed in to change notification settings - Fork 0
/
search3.html
256 lines (250 loc) · 13.6 KB
/
search3.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
<!DOCTYPE html>
<html lang="">
<meta name="viewport" content="width=device-width, initial-scale=1">
<head>
<meta charset="utf-8">
<title>Pc Parts United</title>
<link href="https://cdn.jsdelivr.net/npm/[email protected]/dist/css/bootstrap.min.css" rel="stylesheet"
integrity="sha384-F3w7mX95PdgyTmZZMECAngseQB83DfGTowi0iMjiWaeVhAn4FJkqJByhZMI3AhiU" crossorigin="anonymous">
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.0.0-beta2/css/all.min.css"
integrity="sha512-YWzhKL2whUzgiheMoBFwW8CKV4qpHQAEuvilg9FAn5VJUDwKZZxkJNuGM4XkWuk94WCrrwslk8yWNGmY1EduTA=="
crossorigin="anonymous" referrerpolicy="no-referrer" />
<style>
</style>
</head>
<body>
<nav class="navbar navbar-light bg-light">
<div class="container">
<a class="navbar-brand" href="/demo">
<img src="./Gopher-.png" height="37" class="d-inline-block align-top" alt="">
PC PARTS UNITED
</a>
<input type="text" style="max-width: 75%; border-radius:9px" class="form-control" placeholder="Search"
value="HDMI to DVI"></input>
<ul class="navbar-nav">
<li class="nav-item dropdown" id="dropdown">
<a class="nav-link dropdown-toggle" href="#" id="navbarDropdownMenuLink" data-toggle="dropdown"
aria-haspopup="true" aria-expanded="false">
<img src="./index.svg" height="30px"><img><strong id="numberofproductonpartslist">2</strong>
  </a>
<div class="dropdown-menu" aria-labelledby="navbarDropdownMenuLink">
<a class="dropdown-item" href="#">Action</a>
<a class="dropdown-item" href="#">Another action</a>
<a class="dropdown-item" href="#">Something else here</a>
</div>
</li>
</ul>
</div>
</nav>
<br>
<div class="container" width=100%>
<div style=" float: right; width: 200px;">
<select class="form-control" value="Most Relivant">
<option>Most Relivant</option>
</select>
</div>
</div>
<br>
<br>
<div class="container">
<div
style="width:20%; border-radius:10px; padding:10px; background-color: lightgray; display: inline-block; margin-right: 2%;">
<strong>Brand</strong>
<ul style="list-style:none;">
<li><input type="checkbox" checked="true" class="form-check-input"> GIGABYTE</li>
<li><input type="checkbox" checked="true" class="form-check-input"> MSI</li>
<li><input type="checkbox" checked="true" class="form-check-input"> ASUS</li>
<li><input type="checkbox" checked="true" class="form-check-input"> EVGA</li>
<li><input type="checkbox" checked="true" class="form-check-input"> Razer</li>
<li><input type="checkbox" checked="true" class="form-check-input"> Thermaltake</li>
<li><input type="checkbox" checked="true" class="form-check-input"> EZDIY-FAB</li>
<li>See more</li>
</ul>
<br>
<strong>Price</strong>
<ul style="list-style:none;">
<li><input type="checkbox" checked="true" class="form-check-input"> > $10</li>
<li><input type="checkbox" checked="true" class="form-check-input"> $20-$20</li>
<li><input type="checkbox" checked="true" class="form-check-input"> 50+</li>
</ul>
</div>
<div style="display: inline-block !important; width: 60%; vertical-align: top;">
<div class="row">
<div class="col-lg-12">
* Some of the links to products provided in search results are affiliate links. Pc Parts United will be
paid
a
commission if you use this link to make a purchase.
</div>
</div>
<br>
<div class="row" style="background-color:lightgrey; border-radius: 9px; padding-top: 20px;">
<div class="col-lg-2">
<img class="img-fluid" src="./logos/mcafee.svg" width="150px" style="filter:invert(90)">
</div>
<div class="col-lg-10">
<h5>1 Year McAfee® Total Protection</h5>
<p style="color: blue;">Advertisment</p>
<h3 style=" float: right; color:green">AUD$89.95</h3>
</div>
</div>
<hr>
<div class="row" id="deletenode">
<div class="col-lg-2">
<img class="img-fluid"
src="https://images.officeworks.com.au/api/2/img/https://s3-ap-southeast-2.amazonaws.com/wc-prod-pim/JPEG_1000x1000/COHDDM01_.jpg/resize?size=600&auth=MjA5OTcwODkwMg__"
width="150px">
</div>
<div class="col-lg-10">
<a
href="https://www.officeworks.com.au/shop/officeworks/p/comsol-hdmi-male-to-dvi-male-cable-1m-cohddm01">
<h5>Comsol HDMI Male to DVI Male Cable 1m</h5>
</a>
<h3 style=" float: right; color:green">AUD$18.00</h3>
<img src="./logos/OW-LOGO-BLUE-TEXT-WITH-NO-HOLDING-DEVICE-CMYK-e1601534823751.jpg" style="height: 25px;">
<p>Shipping: next buisness day delivery $5.95 </p>
<button class="btn btn-primary" onclick="compadible()"> + Add to
parts list</button><br>
<a href="#">▼ View Price History</a>
<img id="History" style="display: none; width:30vw"
src="./camelchart-locale-auasin-b08hm4m621pricetypes-newforce-1zero-0w-855h-513desired-falselegend-1ilt-1tp-allfo-0lang-en2021-10-0703 09 29.png"></img>
</div>
<br>
<hr>
</div>
<div class="row">
<div class="col-lg-2">
<img class="img-fluid" src="https://ae01.alicdn.com/kf/H115aab58bd604fe78228ddfe08622377w/HDMI-compatible-to-DVI-Cable-Male-24-1-DVI-D-Male-Adapter-Gold-Plated-1080P-for.png_.webp" width="150px">
</div>
<div class="col-lg-10">
<a href="#">
<h5>HDMI-compatible to DVI Cable Male 24+1 DVI-D Male Adapter Gold Plated 1080P for HDTV DVD Projector PlayStation 4 PS4/3 TV BOX
</h5>
</a>
<img src="./logos/Aliexpress_logo.svg" style="height: 25px;">
<h3 style=" float: right; color:green">AUD$2.80</h3>
<br>
<br>
<button class="btn btn-primary" onclick="notCompadible()"> + Add to
parts list</button><br>
<a href="#">▼ View Price History</a>
<img id="History" style="display: none; width:30vw"
src="./camelchart-locale-auasin-b08hm4m621pricetypes-newforce-1zero-0w-855h-513desired-falselegend-1ilt-1tp-allfo-0lang-en2021-10-0703 09 29.png"></img>
</div>
</div>
<hr>
<div class="row">
<div class="col-lg-2">
<img class="img-fluid"
src="https://c1.neweggimages.com/ProductImage/12-816-008-S01.jpg" width="150px">
</div>
<div class="col-lg-10">
<a href="#">
<h5>
Nippon Labs DVI 2 HDMI 6 ft. HDMI Male to DVI-D Adapter Cable with Gold-plated Connector, Black
</h5>
</a>
<img src="./logos/newegg.png" style="height: 25px;">
<p>Ships from China. Most customers receive within 4-17 days.</p>
<button id="realDemoButton" class="btn btn-primary" onclick="compadible()"> + Add to
parts list</button><br>
<a href="#">▼ View Price History</a>
<img id="History" style="display: none; width:30vw"
src="./camelchart-locale-auasin-b08hm4m621pricetypes-newforce-1zero-0w-855h-513desired-falselegend-1ilt-1tp-allfo-0lang-en2021-10-0703 09 29.png"></img>
<h3 style=" float: right; color:green">AUD$16.500</h3>
</div>
</div>
<hr>
<div class="row">
<div class="col-lg-2">
<img class="img-fluid"
src="https://img.pccasegear.com/tr:n-gallery/images/1544755743-CP-9020186-AU-th.jpg"
width="150px">
</div>
<div class="col-lg-10">
<h5><a
href="https://www.pccasegear.com/products/44951/corsair-sf750-sfx-platinum-modular-750w-power-supply">
Corsair SF750 SFX Platinum Modular 750W Power Supply</a></h5>
<img src="./logos/logo-pc-case-gear.svg" style="height: 25px;">
<h3 style=" float: right; color:green">AUD$229.00</h3>
<p>No shipping info available.</p>
<button class="btn btn-primary" onclick="notCompadible()"> + Add to
parts list</button><br>
<a href="#">▼ View Price History</a>
<img id="History" style="display: none; width:30vw"
src="./camelchart-locale-auasin-b08hm4m621pricetypes-newforce-1zero-0w-855h-513desired-falselegend-1ilt-1tp-allfo-0lang-en2021-10-0703 09 29.png"></img>
</div>
</div>
<br>
<br>
<center>
<nav aria-label="...">
<ul class="pagination">
<li class="page-item disabled">
<a class="page-link" href="#" tabindex="-1" aria-disabled="true">Previous</a>
</li>
<li class="page-item active"><a class="page-link" href="#">1</a></li>
<li class="page-item" aria-current="page">
<a class="page-link" href="#">2</a>
</li>
<li class="page-item"><a class="page-link" href="#">3</a></li>
<li class="page-item">
<a class="page-link" href="#">Next</a>
</li>
</ul>
</nav>
</center>
<br>
</div>
</div>
</div>
</div>
<div id="partlist" style="display:none; position:absolute; width: 270px; top: 45px; left: 1338px;">
<img style="margin-left: 200px;" src="./downarrow.png" width="30px" height="20px"></img>
<div style=" background-color: lightgray; width: 250px; border: 2px darkgray solid; border-radius: 5px;">
<img width="60px" style="display:inline-block; vertical-align: baseline; padding-left: 10px; padding-right: 10px;"
src="https://img.pccasegear.com/tr:n-gallery/images/1544755743-CP-9020186-AU-th.jpg">
<a href="https://www.newegg.com/global/au-en/evga-supernova-850-g3-220-g3-0850-x1-850w/p/N82E16817438092"
style="display:inline-block; width:160px">EVGA SuperNOVA 650</a>
<br>
<img width="60px" style="display:inline-block; vertical-align: baseline; padding-left: 10px; padding-right: 10px;"
src="https://c1.neweggimages.com/ProductImage/14-137-650-V01.jpg">
<a href="#" style="display:inline-block; width:160px">MSI Gaming GeForce.</a>
<hr>
<div style="width:100%; text-align: center;">
<i class="fas fa-lg fa-share-alt"></i> |
<i class="fas fa-lg fa-shopping-cart"></i>
<br>
</div>
</div>
</div>
</body>
<footer>
<script>
function compadible() {
alert("Component successfully added to parts list.")
document.getElementById("realDemoButton").classList.add("btn-success")
document.getElementById("realDemoButton").innerHTML = " - Remove from parts list"
var i = Number(document.getElementById("numberofproductonpartslist").innerHTML)
document.getElementById("numberofproductonp Some the links to product provided in search results are affiliate links. Pc Parts United will be
paid
a
commission if you use this link to make a purchase.artslist").innerHTML = i + 1;
}
function notCompadible() {
if (confirm("This product is incompatible with your graphics card, do you wish to proceed.")) {
document.getElementById("realDemoButton").classList.add("btn-success")
document.getElementById("realDemoButton").innerHTML = " - Remove from list"
var i = Number(document.getElementById("numberofproductonpartslist").innerHTML)
document.getElementById("numberofproductonpartslist").innerHTML = i + 1;
}
}
document.getElementById("nm").addEventListener("change", () => {
document.getElementById("deletenode").remove();
})
document.getElementById("dropdown").addEventListener("click", () => {
document.getElementById("partlist").style.display = "block"
});
</script>
</footer>
</html>