1. #1
    Sencha User
    Join Date
    Jun 2012
    Posts
    7
    Vote Rating
    0
    leftblanl is on a distinguished road

      0  

    Default Answered: List paging image downloads

    Hi,

    I'm using the list paging plugin to load content in chunks from the server. Is there any way to leave the 'Loading...' div in place until all the images in a content 'chunk' are completely downloaded and rendered? At the moment there are huge weird looking gaps for a couple of seconds where images should be and it's making the whole process feel kind of disjointed...

    Thanks

  2. You would have to hook it up yourself. You would have to listen for the load events on the images to know when to hide it. Extending the plugin will allow you to do this.

  3. #2
    Sencha User
    Join Date
    Jun 2012
    Posts
    7
    Vote Rating
    0
    leftblanl is on a distinguished road

      0  

    Default

    Can anyone help with this?

    I have the same problem when I open a tab panel with a carousel in it.. there's a huge gap for ages while the images load in...

  4. #3
    Sencha - Senior Software Engineer mitchellsimoens's Avatar
    Join Date
    Mar 2007
    Location
    Gainesville, FL
    Posts
    38,215
    Vote Rating
    1044
    Answers
    3645
    mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute

      0  

    Default

    You would have to hook it up yourself. You would have to listen for the load events on the images to know when to hide it. Extending the plugin will allow you to do this.
    Mitchell Simoens @SenchaMitch
    Sencha Inc, Senior Software Engineer
    ________________
    Check out my GitHub, lots of nice things for Ext JS 4 and Sencha Touch 2
    https://github.com/mitchellsimoens

    Think my support is good? Get more personalized support via a support subscription. https://www.sencha.com/store/

    Need more help with your app? Hire Sencha Services services@sencha.com

    Want to learn Sencha Touch 2? Check out Sencha Touch in Action that is in print!

    When posting code, please use BBCode's CODE tags.

  5. #4
    Sencha User
    Join Date
    Jun 2012
    Posts
    7
    Vote Rating
    0
    leftblanl is on a distinguished road

      0  

    Default

    Okay thanks, I will look into that.

Thread Participants: 1

Tags for this Thread