Chosen.touch is a fork of the Chosen library for making long, unwieldy select boxes more friendly for touch devices.
JavaScript CoffeeScript
#1 Compare This branch is 8 commits ahead, 886 commits behind harvesthq:master.
Latest commit ea5a837 Jul 13, 2012 Ben Markowitz IE opacity fix
Permalink
Failed to load latest commit information.
chosen
coffee
.gitignore
Cakefile
LICENSE.md
README.md
VERSION
example.jquery.html
example.proto.html
iphone.png
package.json

README.md

Chosen.touch

Chosen.touch is a fork of the Chosen library that allows you to optionally trigger native UI select pickers on touch based devices while maintaining Chosen styles. Typical Chosen behavior on non-touch devices is unaffected.

  • jQuery support: 1.4+
  • Prototype support: 1.7+

I have also included a retina friendly version of the sprite for extra hotness on high density displays. The retina image is triggered by media queries, so there is no setup required.

Usage

jQuery:

$(".chzn-select").chosen({touch:true})

Prototype:

new Chosen(some_form_field,{touch:true});

Credits

Other Forks