Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <!DOCTYPE html>
- <html>
- <head>
- <title>Fuckin bullshit</title>
- <meta name="viewport" content="width=device-width, initial-scale=1.0">
- <!-- Bootstrap core CSS -->
- <link href="http://cdnjs.cloudflare.com/ajax/libs/twitter-bootstrap/3.3.4/css/bootstrap.min.css" rel="stylesheet" media="screen">
- <style>
- .input-group[class*="col-"] {
- padding-right: 15px;
- padding-left: 15px;
- }
- </style>
- <script src="http://cdnjs.cloudflare.com/ajax/libs/html5shiv/3.7.2/html5shiv.js"></script>
- <script src="http://cdnjs.cloudflare.com/ajax/libs/respond.js/1.4.2/respond.js"></script>
- </head>
- <body>
- <!-- Button to trigger modal --> <center><!-- Button to trigger modal -->
- <button type="button" class="btn btn-success">
- <a href="#myModal" style="color:#FFFFFF; font-height:bold" role="button" class="btn btn-custom" data-toggle="modal">Open Contact Form</a>
- </button>
- <!-- Modal -->
- <div id="myModal" class="modal fade" tabindex="-1" role="dialog" aria-labelledby="myModalLabel" aria-hidden="true">
- <div class="modal-dialog">
- <div class="modal-content">
- <div class="modal-header">
- <button type="button" class="close" data-dismiss="modal" aria-hidden="true">×</button>
- <h4 class="modal-title">Contact Me Jerk</h4>
- </div>
- <div class="modal-body">
- <form class="form-horizontal" name="commentform" method="post" action="send_form_email.php">
- <div class="form-group">
- <label class="control-label col-md-4" for="first_name">First Name</label>
- <div class="col-md-6">
- <input type="text" class="form-control" id="first_name" name="first_name" placeholder="First Name"/>
- </div>
- </div>
- <div class="form-group">
- <label class="control-label col-md-4" for="last_name">Last Name</label>
- <div class="col-md-6">
- <input type="text" class="form-control" id="last_name" name="last_name" placeholder="Last Name"/>
- </div>
- </div>
- <div class="form-group">
- <label class="control-label col-md-4" for="email">Email Address</label>
- <div class="col-md-6 input-group">
- <span class="input-group-addon">@</span>
- <input type="email" class="form-control" id="email" name="email" placeholder="Email Address"/>
- </div>
- </div>
- <div class="form-group">
- <label class="control-label col-md-4" for="comment">Question or Comment</label>
- <div class="col-md-6">
- <textarea rows="6" class="form-control" id="comments" name="comments" placeholder="Your question or comment here"></textarea>
- </div>
- </div>
- <div class="form-group">
- <div class="col-md-6">
- <button type="submit" value="Submit" class="btn btn-custom pull-right">Send</button>
- </div>
- </div>
- </form>
- </div><!-- End of Modal body -->
- </div><!-- End of Modal content -->
- </div><!-- End of Modal dialog -->
- </div><!-- End of Modal -->
- </center>
- <script>$('#myModal').modal('show')</script>
- <!-- jQuery (necessary for Bootstrap's JavaScript plugins) -->
- <script src="http://cdnjs.cloudflare.com/ajax/libs/jquery/2.1.3/jquery.min.js"></script>
- <!-- Include all compiled plugins (below), or include individual files as needed -->
- <script src="http://cdnjs.cloudflare.com/ajax/libs/twitter-bootstrap/3.3.4/js/bootstrap.min.js"></script>
- </body>
- </html>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement