-
Notifications
You must be signed in to change notification settings - Fork 0
/
Contacts.html
159 lines (148 loc) · 5.23 KB
/
Contacts.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
<!DOCTYPE html>
<html lang="en">
<head>
<title>Contacts</title>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1">
<link rel="stylesheet" href="css/reset.css" type="text/css" media="all">
<link rel="stylesheet" href="css/layout.css" type="text/css" media="all">
<link rel="stylesheet" href="css/style.css" type="text/css" media="all">
<link rel="stylesheet" href="css/zerogrid.css" type="text/css" media="all">
<link rel="stylesheet" href="css/responsive.css" type="text/css" media="all">
<link rel="stylesheet" href="css/contactform.css" type="text/css" media="all">
<script src="js/jquery-1.6.js" ></script>
<script src="js/cufon-yui.js"></script>
<script src="js/cufon-replace.js"></script>
<script src="js/Forum_400.font.js"></script>
<script src="js/atooltip.jquery.js"></script>
<script src="js/css3-mediaqueries.js"></script>
</head>
<body id="page5">
<div class="body6">
<div class="body1">
<div class="main zerogrid">
<header>
<section><h1><a href="index.html" id="logo"><img src="images/logo.png" alt="Logo Darn Good Soup"></a></h1></section>
<nav>
<ul id="top_nav">
<li><a href="index.html"><img src="images/icon_1.gif" alt=""></a></li>
<li><a href="#"><img src="images/icon_2.gif" alt=""></a></li>
<li class="end"><a href="Contacts.html"><img src="images/icon_3.gif" alt=""></a></li>
</ul>
</nav>
<nav>
<ul id="menu">
<li><a href="oursoups2.html">Our Soups</a></li>
<li><a href="icecreams.html">Ice Creams</a></li>
<li><a href="aboutus.html">About Us</a></li>
<li><a href="login3.html">Login/Signup</a></li>
<li><a href="Contacts.html">Contact</a></li>
</ul>
</nav>
</header>
<div id="content">
<div class="wrap">
<div class="box">
<div>
<h2 class="letter_spacing"><span>Contact Form</span></h2>
<div id="contact_form">
<strong>Hello !! You can send message to us.</strong>
<form name="form1" id = "form1">
<label>
Name*:
<input type="text" placeholder="Please enter your name" name="name" id="name" required>
</label>
<label>
Email*:
<input type="email" placeholder="youremail@gmail.com" name="email" id="email" required>
</label>
<label>
Message*:
<textarea name="message" id="message">Please enter your message</textarea>
</label>
<input class = "sendButton" id="clickMe" type="button" value="Submit" onclick="doFunction();" />
</form>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
<div class="body2">
<div class="main zerogrid">
<div id="content2">
<section>
<div class="wrapper">
<div class="col-1-3"><div class="wrap-col">
<h2>Our Contacts</h2>
<div class="wrapper pad_bot1">
<p>Please contact us at the below if you need to place any orders with our icecreams and soups.</p>
<p class="address">
107, N College Avenue <br>
<span>Freephone:</span> +1 812 369 2148<br>
<span>Telephone:</span> +1 812 369 2148<br>
<span>E-mail:</span> <a href="mailto:">darngoodsoup@gmail.org</a>
</p>
</div>
</div></div>
<div class="col-2-3"><div class="wrap-col mag-1">
<section>
<h2>Map</h2>
<iframe id ="iframe1" src="http://maps.google.com/maps?client=safari&oe=UTF-8&q=107+N+College+Ave+Bloomington+Indiana+47404&ie=UTF8&hq=&hnear=107+N+College+Ave,+Bloomington,+Indiana+47404&gl=us&t=m&z=14&ll=39.166837,-86.534877&output=embed" ></iframe>
</section>
</div>
</div>
</div>
</section>
</div>
</div>
</div>
<div class="body3">
<div class="main zerogrid">
<footer>
<div class="wrapper">
<section class="col-2-3">
<h3>Contact: <span>812 369 2148</span></h3>
<h6> Designed by : <span><a href ="https://www.indiana.edu/" rel="nofollow" target="_blank">Indiana University </a></span></h6>
</section>
<section class="col-1-3">
<h3>Follow Us </h3>
<ul id="icons">
<li><a href="https://www.facebook.com/Darn-Good-Soup-180191948664267/" class="normaltip" title="Facebook" target="_blank"><img src="images/icon1.gif" alt="Facebook link"></a></li>
<li><a href="#" class="normaltip" title="Linkedin"><img src="images/icon2.gif" alt=""></a></li>
<li><a href="#" class="normaltip" title="Twitter"><img src="images/icon3.gif" alt=""></a></li>
</ul>
</section>
</div>
</footer>
</div>
</div>
<script>
//To show an alert when the user hits the submit button
document.getElementById("clickMe").onclick = function () {
var name = document.forms["form1"]["name"].value;
var email = document.forms["form1"]["email"].value;
var message = document.forms["form1"]["message"].value;
if(name == "")
{
alert('Name Must be filled out!');
}
else if(email == "")
{
alert('Email Must be filled out!');
}
else if (message == "" || message == "Please enter your message")
{
alert('Message Must be filled out!');
}
else
{
alert('Message Recorded Thank you');
document.getElementById("form1").reset();
}
};
</script>
</body>
</html>