Live data from Hacker News

Turn boring HTML checkboxes into iPhone toggle switches

jqr.github.com

21–24 of 24 posts

Re: Turn boring HTML checkboxes into iPhone toggle switches

#23

The only reason I'd want these is for a web page to be used on an iPhone. They kill usability for keyboard-focused users.

You use Prototype on your iPhone sites? I’ve tried to avoid using libraries on mobile sites as they add a fair chunk of download and processing overhead. Actually, it’d be nice to see a Webkit specific (or at least modern browser specific) JS library that dumps IE workarounds and fallback DOM selection routines; leaves us with syntactic sugar for QuerySelector and XMLHTTPRequest, and an animation library.

Most of the code in jQuery is not to work around IE, it's for features you actually want. So I doubt this would buy you much savings, especially when gzipped.
Post reply on HN