Turn boring HTML checkboxes into iPhone toggle switches
21–24 of 24 posts
Let's just hope they're not patented.
Re: Turn boring HTML checkboxes into iPhone toggle switches
#22Ack, please don't. Neither space nor tab work (at least in Chromium), and not owning an iPhone, those things don't intuit "toggle" to me.
Don't you get it, they're an Apple look-alike. How can you not like that!?
Re: Turn boring HTML checkboxes into iPhone toggle switches
#23The 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.
Re: Turn boring HTML checkboxes into iPhone toggle switches
#24just because it looks cool on another platform doesn't mean it's needed or useful in a regular web browser. the majority of people who use web browsers probably don't use an iphone, so the interface wouldn't make sense to them.