Skip to content
This repository has been archived by the owner on May 8, 2020. It is now read-only.
/ dropdown-filters Public archive

Convert <select> boxes to a Bootstrap's dropdown button

Notifications You must be signed in to change notification settings

bluesoft/dropdown-filters

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

18 Commits
 
 
 
 
 
 

Repository files navigation

dropdown-filters

Convert <select> boxes to Bootstrap's dropdown buttons

Based on John Rocela's select experiment and Colin Faulkingham's fixed issue.

Current Version: 0.21

Dependencies

Bootstrap by Twitter

Bootstraps's Dropdown plugin

Usage

HTML code:

<label for="selectA">Genre:</label>

<select id="selectA">
  <option value="1">Action</option>
	<option value="2">Comedy</option>
	<option value="3">Family</option>
</select>

jQuery initialization:

$(function() {
	$('select').dropdownFilters();
});

CSS

.filter-title {
	font-weight: bold;
	font-size: 11px;
	color: gray;
	text-align: left;
}

.filter-value {
}

Screenshot

About

Convert <select> boxes to a Bootstrap's dropdown button

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published