Results 1 to 3 of 3

Thread: [Example] Data-driven Carousel

  1. #1
    Sencha User edspencer's Avatar
    Join Date
    Jan 2009
    Location
    Palo Alto, California
    Posts
    1,939
    Vote Rating
    11
      0  

    Default [Example] Data-driven Carousel

    I put together a little example showing how to create an image Carousel based on data fetched from an RSS feed over on my blog just now. Hopefully it demonstrates how to piece components together with data in Sencha Touch 2 to achieve a pleasing whole.

    There's a live demo up at http://code.edspencer.net/apod - open it up on your mobile device for the best experience (and add to your home screen for the even bester experience).

    If anyone has anything they'd like me to cover in other blog posts just let me know in this thread. There's every chance I'll get bored of blogging and decide to never do it again, but if I do your topic may just be the lucky one that gets some nonsense written about it by me.
    Ext JS Senior Software Architect
    Personal Blog: http://edspencer.net
    Twitter: http://twitter.com/edspencer
    Github: http://github.com/edspencer

  2. #2
    Sencha User mitchellsimoens's Avatar
    Join Date
    Mar 2007
    Location
    Gainesville, FL
    Posts
    40,050
    Vote Rating
    1381
      0  

    Default

    Also noting that the source is available at https://github.com/edspencer/APOD . I tested on the iPad2 to see if the image sizes were to be a problem and I saw little to no issues. Would love to see what an Android tab (pre Chrome beta) would do.
    Mitchell Simoens @LikelyMitch
    Modus Create, Senior Frontend Engineer
    ________________
    Need any sort of Ext JS help? Modus Create is here to help!

    Check out my GitHub:
    https://github.com/mitchellsimoens

  3. #3
    Sencha User edspencer's Avatar
    Join Date
    Jan 2009
    Location
    Palo Alto, California
    Posts
    1,939
    Vote Rating
    11
      0  

    Default

    It's actually using Sencha IO src to resize the images automatically for whatever device you're using, it's pretty neat
    Ext JS Senior Software Architect
    Personal Blog: http://edspencer.net
    Twitter: http://twitter.com/edspencer
    Github: http://github.com/edspencer

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •