PDA

View Full Version : clunky zoom within webapp


technekai
03-13-2008, 10:47 PM
i am creating an artsy sort of web app, where the user will be using the two-finger zoom to look at the content. but it feels clunky. the zoom stutters, there's no nice smooth flow, even when i am on a fast wifi connection. my .html page plus the nine black-and-white gifs within come to about 40Kb total.

does zooming just suck in web apps, because presumably most web apps wouldn't want to use it? is my page weight too big? i've got my images and code down as small as i can go.

thanks in advance for helping a noob,
aya.

Cekle
03-16-2008, 07:37 AM
The issue is that the two-finger pinch/pull animation is already hooked by MobileSafari. Therefore you're just zooming into the image using MobileSafari rather than using your webapp.

The reason the zoom is clunky is because MobileSafari rerenders the image when you finish zooming, not dynamically.

Welcome to one of the many reasons why Webapps suck for the most part.