pbakaus/scroller

dom zoom in blurs the page

greenlaw110 opened this issue · 4 comments

The zoom in demonstrated on the DOM demo page http://zynga.github.com/scroller/demo/dom.html looks not very well. As a comparison, zoomooz (http://janne.aukia.com/zoomooz/) zoom in looks crystal clear.

Hi,

as the scroller works solely in memory, the implementation of the zooming can be done however you want, so you could even use Zoomooz in combination with scroller.

Cheers
Sascha

Could you please give out some hint on how to customize zoom implementation?

Have a look at the render implementation in https://github.com/zynga/scroller/blob/master/demo/asset/render.js.

What you do with the zoom value is completely up to you, so you could easily add transitions for smoother scrolling.

That's cool. Just for any future reference, changing "translate3d" to "translate" and get rid of the last parameter in the default render.js greatly improve the zoom in effect, at least in google chrome it looks that way.