-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathSearch.html
79 lines (64 loc) · 1.53 KB
/
Search.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
<html>
<!---------CSS/Title----->
<link rel="stylesheet" href="CSS4.css">
<title>KD's Pet Food and Accessories</title>
<!-------Head------------>
<center>
<div class="Head">
<head>
KD's Pet Food and Accessories
</head>
<div class="LoginImg">
<a href="Login.html"><img src="logout-icon-png-3.jpg" width="50px" height="50px"></a>
</div>
</div>
<br>
<br>
</center>
<!------Navigation----->
<center>
<table cellpadding="10px" class="Navigation">
<tr>
<td>
<a href="MainPage.html">Shop</a>
</td>
<td>
<a href="Slideshow.html">Slideshow</a>
</td>
<td>
<a href="Search.html">Search</a>
</td>
</tr>
</table>
</center>
<!------Javascript----->
<script>
function SearchButton()
{
if(document.getElementById("TextBox").value=="Hills"){window.location="MainPage.html"}
if(document.getElementById("TextBox").value=="Eukanuba"){window.location="MainPage.html"}
if(document.getElementById("TextBox").value=="Montego"){window.location="MainPage.html"}
if(document.getElementById("TextBox").value=="Whiskas"){window.location="MainPage.html"}
if(document.getElementById("TextBox").value=="Slideshow"){window.location="Slideshow.html"}
}
</script>
<br>
<br>
<table align="center">
<tr>
<td>
<div class="search-box" >
<input type="text" class="search-txt" id="TextBox" placeholder="Type to Search" >
<a class="search-btn" href="#"></a>
<input type="image" src="105498-200.png" id="SearchImg" height="30px" width="30px" onclick="SearchButton()">
</div>
</td>
</tr>
</table>
<!-------Footer--------->
<div class="footer">
<footer><hr>
© 2019 Copyright
</footer>
</div>
</html>