-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathContact.html
153 lines (138 loc) · 3.43 KB
/
Contact.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
<!DOCTYPE html>
<html>
<head>
<title>Contact</title>
</head>
<style>
body, html{
height: 100%;
margin: 0;
}
/*DROPDOWN MENU */
.bar1, .bar2, .bar3 {
width: 20px;
height: 3px;
background-color: #333;
margin: 3px 0;
transition: 0.4s;
}
.dropbtn {
background-color: rgba(255, 255, 255, 0);
color: white;
padding: 16px;
font-size: 16px;
border: none;
cursor: pointer;
}
.dropbtn:hover, .dropbtn:focus {
background-color: rgba(255, 255, 255, 0.3);
}
.dropdown {
position: relative;
display: inline-block;
}
.dropdown-content {
display: none;
position: relative;
background-color: rgba(255, 255, 255, 0);
min-width: 100px;
overflow: auto;
box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.2);
z-index: 1;
text-align: center;
}
.dropdown-content a {
color: black;
text-decoration: none;
display: block;
}
.dropdown a:hover {background-color: rgba(255, 255, 255, 0.2)}
.show {display:block;}
</style>
<body bgcolor = "grey">
<div class="dropdown">
<button onclick="myFunction()" class="dropbtn">
<div class="bar1"></div>
<div class="bar2"></div>
<div class="bar3"></div></button>
<div id="myDropdown" class="dropdown-content">
<a href=index.html>Home</a>
<a href=https://devanshithakar12.github.io/ExploringHopePublicStories/index.html >Public Stories</a>
<a href=AnonStories.html>Anonymous Stories</a>
<a href=Directory.html>Directory</a>
<a href=Contact.html>Contact Us</a>
</div>
</div>
<font color="black" size=6>
<img src="pic.png" width=100% height="300">
<center>
<p><p>
<table width=“300px" height = “300px">
</tr>
<tr>
<div id="after_submit"></div>
<!--<table width="500px" height = "500px" >-->
<form action="mailto:twitterfork123@gmail.com" method="post" enctype="text/plain">
<div class="row">
<td valign="top">
<tr>
<th>Name:</th>
<th><input type="text" name="name" maxlength="50" size=30></th>
</tr>
</td>
</div>
<td valign="top">
<tr>
<th>E-mail:</th>
<th><input type="text" name="mail" maxlength="50" size=30></th>
</tr>
</td>
<div class="row">
<td valign="top">
<tr>
<th>Your Story:</th>
<th><input type="text" name="comment" maxlength="1000" cols="25" rows="6"></th>
</tr>
</td>
</div>
<div class="row">
<td valign="top">
<tr>
<th>Enter your Reason:</th>
<th><input type="text" name="reason" maxlength="30" size=30></th>
</tr>
</td>
</div>
<div class="row">
<tr>
<td colspan="2" style="text-align:center">
<input type="submit" value="Send">
<input type="reset" value="Reset">
</td>
</tr>
</div>
</form>
</table>
</br>
Call: +17024455891 || Email:exploringhopes@gmail.com
</font>
<script>
function myFunction() {
document.getElementById("myDropdown").classList.toggle("show");
}
// Close the dropdown if the user clicks outside of it
window.onclick = function(event) {
if (!event.target.matches('.dropbtn')) {
var dropdowns = document.getElementsByClassName("dropdown-content");
var i;
for (i = 0; i < dropdowns.length; i++) {
var openDropdown = dropdowns[i];
if (openDropdown.classList.contains('show')) {
openDropdown.classList.remove('show');
}
}
}
}
</script>
</body>
</html>