3 ms·
I'm curious what browsers you're supporting and experience you're aiming for with your hand rolled javascript. Targeting phones outside of iOS and Android with
by johnbender 15y ago
I'm curious what browsers you're supporting and experience you're aiming for with your hand rolled javascript.
Targeting phones outside of iOS and Android with anything but the most basic functionality is a difficult task without help. A prime example being the 500+ ms delay created when adding event listeners for click instead of touch events. Click covers everything but it creates a perceptibly slow ui for the user.
- dreamdu5t 15y agoBrowsers supported are IE6+, IE Mobile, Opera Mini, Safari 3+, Chrome, Firefox 3+, blackberry browser, android browser, symbian's web browser, pretty much everything that renders the important parts of CSS1/2 and has JS support. Pretty much an experience like http://m.twitter.com http://m.twitter.com The click delay workaround is like 15 lines of JS. It's one of the few issues (along with foreach) requiring a major workaround, if you design your HTML/CSS layouts properly. Also, don't forget you can take what you need from jQuery or other libraries. For example, the click delay workaround I think I grabbed from HTML5 mobile boilerplate, and my foreach function I grabbed from jQuery.