shtev21 / sd_jqDropdown

A lightweight and simple cross browser select box replacement using jQuery

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

sd_jqDropdown

Version: 0.1.3

A lightweight and simple cross browser select box replacement using jQuery. Still very in beta and in need of much testing. I will be working on this quite extensively over the coming weeks.

Options

Mode

sd_jqDropdown allows you to choose between two display modes, dropDown or popUp

To choose the mode, simply pass either of the above values into the mode parameter.

sdDropdown({
    mode: 'dropDown'
});
sdDropdown({
    mode: 'popUp'
});

Easing

The plugin allows you to choose your own easing mode. The plugin accepts all default jQuery easing modes, it should also work with any custom easing modes from other plugins such as jquery-ui, however these are untested.

The default mode is swing, but you could just as easily use any other such as linear

sdDropdown({
    easing: 'linear'
});

Version History

  • v0.1.3 Adds the ability to choose the easing mode.
  • v0.1.2 Adds the ability to choose the mode, dropDown and popUp
  • v0.1.1 Adds the ability to differentiate between values and plaintext.

About

A lightweight and simple cross browser select box replacement using jQuery

License:MIT License


Languages

Language:JavaScript 83.7%Language:CSS 16.3%