Settings

Theme

Zynga open sources panning and zooming library for HTML and Canvas

github.com

116 points by caillou 14 years ago · 18 comments

Reader

mayoff 14 years ago

I set up the demos here:

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

(Thank you, GitHub Pages.)

aqrashik 14 years ago

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.

DanielRibeiro 14 years ago

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

adrianwaj 14 years ago

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?

bni 14 years ago

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.

zerostar07 14 years ago

Based on https://github.com/unify/unify

kentf 14 years ago

Can anyone help extending this?

Trying to add Click events to this.

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

tonyskn 14 years ago

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

localhost3000 14 years ago

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

javascript 14 years ago

Does not work in IE 8.

Zakuzaa 14 years ago

Works on iPad too.

brador 14 years ago

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

Keyboard Shortcuts

j
Next item
k
Previous item
o / Enter
Open selected item
?
Show this help
Esc
Close modal / clear selection