PDA

View Full Version : Parallax in Sencha Touch



PhilMerrell
10 Dec 2013, 12:07 PM
I recently started a blog focused primarily on Sencha Touch development. My first post is achieving a parallax effect with an image and a list.

http://philmerrell.com/parallax-in-sencha-touch/

The post has an explanation, a live example and a link to my github account where you can download the source. Any and all suggestions welcome.

fmoseley
12 Dec 2013, 4:37 PM
Cool! Thanks for sharing. I'm going to move this over to the example/showcase forum.

stevenbrent
13 Dec 2013, 5:42 AM
Really nice work - and as a huge fan of the Captain, I appreciate the reference :-)

PhilMerrell
13 Dec 2013, 7:56 AM
fmoseley - Thanks and thank you for moving the thread. Soon after I posted I realized I was in the wrong forum, and then felt too sheepish to ask for it to be moved.

stevenbrent - Thanks! I figured there wasn't enough Beefheart in blogs about mobile development.

hschaefer123
19 Dec 2013, 8:13 AM
Hi Phil,
very cool!

I was just searching for an parallax effect.

It is nearly the same nice effect as used in the Sencha Con app.

Just a hint!
If you use image property "mode: image" or anything else than background (default) the image will stretch to 100% as expected.

Thanks for saving me some time to find such an effect.

Cheers Holger

PhilMerrell
19 Dec 2013, 2:56 PM
Thanks, Holger!

Thanks for the tip, too.