"Search Modal"
Bootstrap 3.1.0 Snippet by drynkme

<link href="//netdna.bootstrapcdn.com/bootstrap/3.1.0/css/bootstrap.min.css" rel="stylesheet" id="bootstrap-css"> <script src="//netdna.bootstrapcdn.com/bootstrap/3.1.0/js/bootstrap.min.js"></script> <script src="//code.jquery.com/jquery-1.11.1.min.js"></script> <!------ Include the above in your HEAD tag ----------> <!-- Button trigger modal --> <div class="container"> <br> <center> <button class="btn btn-primary btn-lg" href="#signup" data-toggle="modal" data-target=".bs-modal-sm"><span class="fa fa-search fa-lg"></span></button> </center> <br> </div> <!-- Modal --> <div class="modal fade bs-modal-sm" id="myModal" tabindex="-1" role="dialog" aria-labelledby="mySmallModalLabel" aria-hidden="true"> <div class="modal-dialog modal-sm"> <div class="modal-content"> <div class="modal-body"> <div id="myTabContent" class="tab-content"> <div class="tab-pane fade active in" id="signin"> <form class="form-horizontal"> <fieldset> <!-- Sign In Form --> <!-- Text input--> <div class="control-group"> <div class="controls"> <input required="" id="userid" name="userid" type="text" class="form-control" placeholder="Search for item" class="input-medium" required=""> </div> </div> <!-- Button --> <div class="control-group"> <label class="control-label" for="search"></label> <div class="controls"> <button id="search" name="search" class="btn btn-success btn-lg btn-block">Search</button> </div> </div> <!-- Button --> <div class="control-group"> <label class="control-label" for="signin"></label> <center> <div class="controls"> <button type="button" class="btn btn-default" data-dismiss="modal">Close</button> </div> </center> </div> </fieldset> </form> </div> </div> </div> </div>

Related: See More


Questions / Comments: