PDA

View Full Version : Static header with zoom/pinchable content. is it possible ?



29er
29 Oct 2011, 8:14 PM
Hi,
so i am looking at the kitchen sink examples and see that in the google map example, the maps are zoomable but the header stays static. this is exactly what i am looking for but without google maps. i just want an image 'gallery' of some sort, where my images are zoomable but the header stays the same size absolutely positioned on top.
is this possible in Sencha 2. if so, could you point me to an example ?
my dev shop is looking at both jquery mobile and sencha for our next project, and this is a key feature that is needed. i havent had any luck finding JQM examples that work well on both iphone and Android and i am really pushing for Sencha :)
thanks!

SunboX
30 Oct 2011, 2:51 AM
Interesting. I´m looking for Ext.Image zooming, too. I´ve several images inside an Ext.Carousel and the user should be able to zoom those images.

SunboX
30 Oct 2011, 5:30 AM
Last 2 1/2 hours I tried to get this working. I´ve a first working demo, but doesn´t work very well. Maybe you can build upon this. I haven´t time the next days:

https://github.com/SunboX/Ext.ux.ZoomPanel/blob/master/Source/ZoomPanel.js

greetings Sunny

SunboX
30 Oct 2011, 5:43 AM
Found one more link:

https://gist.github.com/1002303

SunboX
30 Oct 2011, 5:47 AM
Or maybe you can copy something from openlayers:
http://openlayers.org/dev/examples/mobile-sencha.html

29er
30 Oct 2011, 6:36 PM
thanks for the replies guys!
i will take a look at your example/links and let you know what i find...