-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathSearch.txt
52 lines (46 loc) · 1.1 KB
/
Search.txt
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
<!DOCTYPE html>
<html>
<head>
<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.0/jquery.min.js"></script>
<script>
$(document).ready(function(){
$("#flip").click(function(){
$("#panel").slideToggle("slow");
});
});
$(document).ready(function(){
$("#flip1").click(function(){
$("#panel1").slideToggle("slow");
});
});
</script>
<style>
#panel, #flip {
padding: 5px;
text-align: center;
background-color: #e5eecc;
border: solid 1px #c3c3c3;
}
#panel {
padding: 50px;
display: none;
}
#panel1, #flip1 {
padding: 5px;
text-align: center;
background-color: #e5eecc;
border: solid 1px #c3c3c3;
}
#panel1 {
padding: 50px;
display: none;
}
</style>
</head>
<body>
<div id="flip">Click here to search by drug</div>
<div id="panel">Enter the medicine you want to search<input type="text" name="drug"><a href="drug.html">Search</a></div>
<div id="flip1">Click here to search the chemist shop</div>
<div id="panel1">Enter the medicine you want to search<input type="text" name="shop"><a href="shop.html">Search</a></div>
</body>
</html>