Turn boring HTML checkboxes into iPhone toggle switches
jqr.github.com
jqr.github.com
But one benefit I can see is that these switches increase the target area, which I've always found to be somewhat small with checkboxes and radio buttons...
It's a pretty damn good job.
<s>I bet it's not too dificult to add keyboard support to them</s>
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.
Edit: They are an improvement of these: http://awardwinningfjords.com/2009/06/16/iphone-style-checkb...
Kudos to the author.
for now on, I'll stick with the default, unless the web app is build to run on the iPhone.
what is wrong with you people?