Hacker Newsnew | past | comments | ask | show | jobs | submitlogin
Zynga open sources panning and zooming library for HTML and Canvas (github.com/zynga)
116 points by caillou on Oct 1, 2011 | hide | past | favorite | 17 comments


I set up the demos here:

http://qwan.org/scroller/demo/

(Thank you, GitHub Pages.)


doesnt work.


There's no licensing information, even the source files simply have a copyright notice but no mention of the license under which it is being distributed.


It says MIT + Apache (V2) in the Scroller.js file ;) https://github.com/zynga/scroller/blob/master/src/Scroller.j...

I went ahead and made a pull request. https://github.com/zynga/scroller/pull/1



EaselJs does this with ease as well: http://easeljs.com/


What the web needs is a UI demo site. You could submit a page that was a demo, and it'd have some metadata in the markup to describe it, and then that would be iframed into the site - then there'd be a header to navigate all the demos. It could be called UIpalette. Any takers?


For me the other project they released was more interesting:

https://github.com/zynga/viewporter

Shows to what extremes you need to go to get fullscreen on all the Android customizations out there, HTC, Samsung etc.

Anyway very useful for me since I cant test on all those.



Can anyone help extending this?

Trying to add Click events to this.

http://stackoverflow.com/questions/7621401/adding-a-click-ev...


This has just been announced in the JSConf EU conference in Berlin!


how's this compare to something like touchscroll.js for reproducing native-style scrolling in a mobile web app? e.g. content div that scrolls with fixed footer on ios


Does not work in IE 8.


Works on iPad too.


Works great on iPad :-)


Works fantastic on iPad2


I would do this too. Nice way to get someone else to solve your difficult problems for free.




Consider applying for YC's Fall 2026 batch! Applications are open till July 27.

Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: