-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
49 lines (46 loc) · 2.03 KB
/
index.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
<!DOCTYPE html>
<html>
<head>
<title>Contact form</title>
</head>
<style type="text/css">
#frmContact_page div label{margin-left:5px}.demoInputBox_page{width:100%;font-size:16px;line-height:1.4}.error_page{background-color:#F60;border:#AA4502 1px solid;padding:5px 10px;color:#FFF;border-radius:4px}
.success_page{color:#03dc03!important}.btnAction_page{padding:15px!important;width:100%!important;font-size:1em;background-color:#af0000!important;color:#fff!important;border:8px double #860b0b!important}#userName-info_page,#userEmail-info_page,#phone-info_page,#content-info_page{color:#EE82EE!important}
</style>
<body onload="createCaptcha()">
<div id="mail-status"></div>
<div id="frmContact">
<div>
<label style="padding-top:20px;">Name</label>
<span id="userName-info" class="info"></span><br />
<input type="text" name="userName" id="userName" class="demoInputBox">
</div>
<div>
<label>Email</label>
<span id="userEmail-info" class="info"></span><br />
<input type="text" name="userEmail" id="userEmail" class="demoInputBox">
</div>
<div>
<label>Phone</label>
<span id="phone-info" class="info"></span><br />
<input type="text" name="phone" id="phone" class="demoInputBox">
</div>
<div>
<label>Content</label>
<span id="content-info" class="info"></span><br />
<textarea name="content" id="content" class="demoInputBox" cols="60" rows="6"></textarea>
</div>
<!-- Captcha -->
<div id="captcha"></div>
<span id="cpatchaTextBox-info" class="info"></span><br />
<input type="text" class="demoInputBox" placeholder="Captcha" id="cpatchaTextBox"/>
<!-- Captcha -->
<div>
<button name="submit" class="btnAction" type="submit" onclick="sendContact()">Send</button>
</div>
</div>
<script src="https://code.jquery.com/jquery-2.1.1.min.js" type="text/javascript"></script>
<script type="text/javascript" src="captcha.js"></script>
<script type="text/javascript" src="validation.js"></script>
</body>
</html>