/Latest Projects
> Building a pure CSS 3D City
I was recently experimenting with CSS 3D transforms. Is it possible to build a 3D city with just CSS? Yesterday I've posted on twitter about a quick CSS 3D demo, here comes the follow up blog post. Read more »
> iScroll 4
iScroll finally received a complete rewrite. Now it's smoother than ever and adds some new important features: pinch/zoom, pull down to refresh, snap to elements and more custom events for a higher level of hackability. Read more »
> iScroll 4.0 seeks beta testers
It has been a troubled pregnancy, but iScroll 4 is finally ready for beta testing. Here is a quick overview on the main new features of this stellar new release. Read more »
> iScroll may soon change name
You can say that your open source project got some kind of success only when you receive a "cease and desist" notice from a corporate from Nebraska. Read more »
> Add to home screen
I found that many iPhone and iPad users don't know that they can add their favorite web sites to the Home Screen and interact with them like standard native applications. This script helps them to discover this great feature and suggests the steps needed to add your web app to the dashboard. Read more »
> Device motion + websockets demo
iOS 4.2 is finally out and it adds a couple of new important tools to the web developer's arsenal: websockets and devicemotion. The former makes client/server communication a snap, the latter brings accelerometer support to the browser. I wanted to test both technologies and see what problems might arise. It has been a very interesting experience, here're my impressions. Read more »
> Testing memory usage on mobile Safari
How many elements can I load into the iPhone browser before it crashes? I've been asked this question many times. We don't have memory management on Safari mobile browser, and we don't know when it is going to crash. This level of uncertainty bothered me enough that I decided to do some (admittedly empiric) tests. Read more »
> iScroll Google Group officially opened
After more than 800 questions, requests and suggestions sent for iScroll I finally decided to open a discussion group so that it will be easier to browse and search through the messages. Read more »
> Follow along floating layer
We have to find smart alternatives to meet the lack of position:fixed on iPhone. If you don't need the complexity of iScroll you may find this script useful. All it does is to move a layer together with the page scroll position. If you are familiar with the mobile Gmail web app you should know what I'm talking about. Read more »
> You shall not flicker!
Off screen items on iScroll are not cached by the mobile browser, when it comes their turn to appear on screen they need a few moments before being accessible, creating a nasty flickering. Well, there's an easy trick to force the browser to cache all elements and it's so simple I regret not having tried it before. Read more »
> Do you really need jQuery (for mobile dev)?
I love jQuery, I use it everyday, you can spot it even on this blog. It's a life saver in the times of desktop browser discrepancies (yes, I'm talking to you IE), but modern browsers and specifically mobile browsers are good enough not to need any bloated framework on their shoulders. In this post I'm showing you that 90% of the times you are using a framework for nothing. Read more »
> iScroll v3.6 Bug Squashing Edition
I finally took the time to fix some nasty bugs that were infesting iScroll. This has been the most important bugs hunting session since v3.0. Hurry up, take it while is hot. Read more »
> HW Accelerated Accordion
Accordion on mobile webkit is a bad beast. The accordion effect is usually obtained by reducing/incrementing the elements height. Unfortunately, on mobile, height and width are two not hardware accelerated properties, which means choppy animations. Fear not: I just baked for you a translations-only height-changes-free accordion for all your mobile needs. Read more »
> iScroll snaps to version 3.6 (beta)
One of the most important features has been finally added to iScroll: please welcome the snap scroll. The scrolling area is subdivided into pages and you may choose to scroll to any page both programmatically and with user swipes. The code has been further optimized so that the new feature doesn't impact on file size nor performance. Read more »
> Server maintenance
On Saturday 31th I had to do some server maintenance and few comments and emails sent through the contact form could have been lost. So if you don't see your comments or a reply to your emails, I'm not censoring or ignoring you but --unfortunately-- you have to resend them. Read more »