News for hackers. Stuff that matters.
Re:Turn boring HTML checkboxes into iPhone toggle switches by mattp on Thursday August 06, 2009 @03:53AM (#745006)
I agree that we shouldn't automatically copy and past UI elements from one platform to every other, unless they present real usability benefits to those other platforms.

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...

Re:Turn boring HTML checkboxes into iPhone toggle switches by DougBTX on Thursday August 06, 2009 @06:55AM (#745171)
The text label beside the radio button is clickable too, if the page author has used the <label> tag correctly.
Re:Turn boring HTML checkboxes into iPhone toggle switches by jqr on Thursday August 06, 2009 @08:04AM (#745265)
the entire control can be clicked to toggle, and yes it's composed of two overlapping labels!