Skip to content

danilvalov/jquery.selectbox

Repository files navigation

JQuery Selectbox v.0.3

Default Options:

classHolder: "sbHolder",
classHolderDisabled: "sbHolderDisabled",
classSelector: "sbSelector",
classOptions: "sbOptions",
classOptionsList: "sbOptionsList",
classOptionsItem: "sbOptionsItem",
classOptionSelected: "sbOptionSelected",
classGroup: "sbGroup",
classSub: "sbSub",
classDisabled: "sbDisabled",
classSelectOpen: "sbSelectOpen",
classToggle: "sbToggle",
classFocus: "sbFocus",
classDropUp: "sbDropUp",
minWidth: 50,
maxWidth: 500,
maxHeight: 300,
padding: 30,
speed: 200,
effect: "slide", // "slide" or "fade"
onChange: null, // Define a callback function when the selectbox is changed
onOpen: null, // Define a callback function when the selectbox is open
onClose: null // Define a callback function when the selectbox is closed