Currently browsing tag

mobile

CSS3 iPhone-y toggle

In order to have an iOS-style toggle that scales nicely, I used a simple media query and a CSS3 widget for my company’s touch site.  Here’s an adaptation of it with my own Javascript; feel free to reuse the code as you wish.  The JS listens for clicks on the …

Quick test: button vs input on mobile

I searched the internet for whether the button tag would cause the virtual keyboard to show “Go” like an input type=submit, and found not much.  So the quick answer?  Yes, it does!  I checked Android 2.2.1 and iOS 4. …And here’s an old but good article about button.