December 2010
8 posts
1 tag
3 tags
Cat vs Internet →
2 tags
GPU acceleration for CSS3 transforms is a significant area of catch-up for the...
– Samsung Galaxy Android Tablet: The HTML5 Developer Scorecard - Sencha (via wpbasti)
4 tags
PhoneGap and supporting the Retina display
While making an IPhone Version of 123Abc, I was searching yesterday who to support the retina display of the last IPhone.
This is easier as I thought thanks to CSS3 media query (cf. Walt Grayson’s blog & Erik Runyon’s blog).
In the main HTML file:
< link
rel="stylesheet"
href="css/retina.css"
media="only screen and (-webkit-min-device-pixel-ratio: 2)" >...
3 tags
PhoneGap and adding external links...
To prevent default behaviors of the Touch events, I do this:
var eventNames = ['touchmove', 'touchstart', 'touchend', 'touchcancel'];
function preventDefaultBehavior(evt) {
evt.preventDefault();
}
eventNames.forEach(function(eventName) {
document.addEventListener(eventName, preventDefaultBehavior, false);
});
But this prevents also the <a> element to be...
2 tags