A super-small (1098 bytes gzipped), non-dependent JavaScript framework that allows you to easily customize selectboxes
Bower
$ bower install dropit.js
npm
$ npm install dropit
Customize all select elements:
var selectBoxes = new Dropit();
Customize only some select elements:
var selectBoxes = new Dropit('div#main select.fancy')
Change default classes:
var selectBoxes = new Dropit('select', {
hiddenSelectClass : 'hidden',
dropitClass : 'custom',
activeListClass : 'active',
selectedOptionClass : 'selected'
});
See the contributing guide
MIT © Johnie Hjelm