我终于弄清楚了如何创建向下滑动的 Web 表单,但是我在哪里以及如何设置我的电子邮件地址。因此,当有人向我发送消息时,我会在电子邮件中收到相同的消息。我想这是一个基本问题,但我找不到答案。
这是 JSFiddle 的链接:http: //jsfiddle.net/8S82T/101/
<!doctype html>
<html>
<head>
<title>Jquery test</title>
<meta charset="UTF-8" />
<link rel="stylesheet" type="text/css" href="main.css" />
<script src="//ajax.googleapis.com/ajax/libs/jquery/1.9.1/jquery.min.js"></script>
</head>
<body>
<div class="container">
<div id="button" class="title">
<h6>Contact</h6>
</div>
<div id="dropbox">
<header class="title">
<h6>Whats up?</h6>
</header>
<div class="contact-form">
<form action="lulzy.php" action="post">
<h6><img src="img/person.png" alt="" /> Name</h6>
<input type="text" placeholder="Please enter your full name here" required />
<h6><img src="img/email.png" alt="" /> E-mail</h6>
<input type="email" placeholder="Please enter your e-mail address" required/>
<h6><img src="img/message.png" alt="" /> Message</h6>
<textarea placeholder="Type your message..." required/></textarea>
<input type="submit" value="Submit">
</form>
</div>
</div>
</div>
<script src="dropbox.js"></script>
</body>
</html>