The port of Super Star Trek [1] to an HTML 5 mobile app involves some times dealing with the fact that the app does not have full control over the device but runs inside a browser. One of the restrictions thus applied is the omnipresent address bar in the browser. For many applications that is … Continue reading Hiding the address bar in mobile browsers
Tag: web
Liferay diaries: Serving resources from a portlet with Spring
So there comes the day when you finally have to serve an image, pdf or excel report generated by a portlet or, more elegantly, by a Spring controller backing a portlet. At a first take this may seem impossible since the markup produced by a portlet is embedded in the markup (i.e. HTML) of all … Continue reading Liferay diaries: Serving resources from a portlet with Spring
On translating Tweets
I've been following the indonesian startup community for a while, but unfortunately my bahasa is not quite at the level that allows me to casually drop a glance at twitter and go on with my work. While looking for a solution to translate tweets into english for firefox, it turns out that there are a … Continue reading On translating Tweets
Scaling sprite image
If you've always wanted, just like me, a way to scale images used in CSS sprites: there's a way [1]. It essentially comes down to a clever overlaying of a mask on an image: 1. a div with overflow:hidden and of a fixed size 2. an img pointing to the sprite is placed inside the … Continue reading Scaling sprite image