jQuery coreUISelect is a cross browser easy to stylize select element with jQuery and CSS. Requires jQuery 1.6 or higher
- Full customization
- Automatic calculations
- Optiongroup support
- Keyboard support
- Powerful callback functions
- Compatible with mobile devices
- Support jScrollPane plugin for customize default scrollbar
See demo: http://shaggysmile.github.com/jQueryCoreUISelect/
$('select').coreUISelect();
$('select').coreUISelect({
jScrollPane : {
verticalDragMinHeight: 20,
verticalDragMaxHeight: 20,
showArrows : true
}
});
$('select').coreUISelect({
appendToBody : true
});
Custom dropdown build in body
$('select').coreUISelect({
onInit : addCoreUISelectListener,
onOpen : addCoreUISelectListener,
onClose : addCoreUISelectListener,
onChange : addCoreUISelectListener,
onDestroy : addCoreUISelectListener
});
function addCoreUISelectListener(select, event){
console.log(select, event);
}
$('select').coreUISelect('update');
$('select').coreUISelect('destroy');