mobomo/chosen.touch

Name: chosen.touch

Owner: mobomo

Description: Chosen.touch is a fork of the Chosen library for making long, unwieldy select boxes more friendly for touch devices.

Created: 2012-07-11 15:32:34.0

Updated: 2017-06-14 20:24:07.0

Pushed: 2012-07-13 13:40:05.0

Homepage: https://github.com/bpmarkowitz/chosen.touch

Size: 1392

Language: JavaScript

GitHub Committers

UserMost Recent Commit# Commits

Other Committers

UserEmailMost Recent Commit# Commits

README

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.

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:

Chosen(some_form_field,{touch:true});
Credits
Other Forks

This work is supported by the National Institutes of Health's National Center for Advancing Translational Sciences, Grant Number U24TR002306. This work is solely the responsibility of the creators and does not necessarily represent the official views of the National Institutes of Health.