More information about the Underscore mailing list

[_] JavaScript image zoom and pan

Craig Francis craig at
Wed Jul 4 14:26:15 BST 2012

On 4 Jul 2012, at 14:13, Alex Bovey wrote:
> I haven't tried this on a touchscreen so not sure whether it will help:

Doesn't quite work with touch events (e.g. ontouchstart), but has the basic principles in place.

Although they have the same problem that I do at the moment... the zoom is happening from the centre of the image, not the view port (i.e. zoom in, drag the image so you can only just see one of its edges, them zoom out again).