"Button Dropdown Select"
Bootstrap 3.0.1 Snippet by xrozix

<link href="//netdna.bootstrapcdn.com/bootstrap/3.0.1/css/bootstrap.min.css" rel="stylesheet" id="bootstrap-css"> <script src="//netdna.bootstrapcdn.com/bootstrap/3.0.1/js/bootstrap.min.js"></script> <script src="//code.jquery.com/jquery-1.11.1.min.js"></script> <!------ Include the above in your HEAD tag ----------> <div class="container"> <div class="row"> <h2>Button Dropdown Select</h2><br> <select class="selectpicker" data-header="Filtrer" data-style="btn-primary" data-selected-text-format="count > 2" title="Filtres" multiple> <option data-subtext="Derniers matchs">Résultats</option> <option data-subtext="Prochains matchs">Affiches</option> <option data-subtext="Prochains matchs">Evènements</option> <option data-subtext="Prochains matchs">Salles</option> </select> <br> <h4>Original by <a href="http://silviomoreto.github.io/bootstrap-select/">http://silviomoreto.github.io/bootstrap-select/</a><br> Tweaked by <a href="http://www.twitter.com/RodyMolenaar">@RodyMolenaar</a> </h4> </div> </div> <script type="text/javascript"> window.onload=function(){ $('.selectpicker').selectpicker(); // scrollYou $('.scrollMe .dropdown-menu').scrollyou(); prettyPrint(); }; </script> <script src="http://cdnjs.cloudflare.com/ajax/libs/bootstrap-select/1.5.4/bootstrap-select.js"> </script>
@import url("http://cdnjs.cloudflare.com/ajax/libs/bootstrap-select/1.5.4/bootstrap-select.min.css")

Related: See More


Questions / Comments: