Zynga open sources panning and zooming library for HTML and Canvas
github.comThere'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
https://github.com/zynga/scroller/blob/master/MIT-LICENSE.tx...
added 21 min ago
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.
Based on https://github.com/unify/unify
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.