jQuery CoreUISelect is a cross browser easy to stylize select element with jQuery and CSS
Switch branches/tags
Nothing to show
Pull request Compare This branch is 60 commits ahead of alisher-agzamov:master.
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
css
js
.gitignore
README.md
index.html

README.md

jQuery coreUISelect

jQuery coreUISelect is a cross browser easy to stylize select element with jQuery and CSS. Requires jQuery 1.6 or higher

Available Features:

  • 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/

Default settings

$('select').coreUISelect();

With jScrollPane plugin

$('select').coreUISelect({
    jScrollPane : {
       verticalDragMinHeight: 20,
       verticalDragMaxHeight: 20,
       showArrows : true
    }
 });

Append to body

$('select').coreUISelect({
    appendToBody : true
});

Callback functions

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);
 } 

API

$('select').coreUISelect('update');
$('select').coreUISelect('destroy');