Code Monkey home page Code Monkey logo

Comments (5)

miromannino avatar miromannino commented on May 27, 2024

The loading indicator is displayed just before the start of the first ajax call. Then, when all the images of the first row are loaded they are shown, and the loading indicator is below the first row of images. It doesn't appear in your page?

Thank you

from justified-gallery.

jrondorf avatar jrondorf commented on May 27, 2024

Hi,
The spinner works nicely as you designed it.
My use case: already building the a and img tags takes long, because I load this information from an external source repository. I would like to start the spinner (manually?) just before I start to create the a and img tags.

Best regards

Am 08.08.2014 um 21:33 schrieb Miro Mannino [email protected]:

The loading indicator is displayed just before the start of the first ajax call. Then, when all the images of the first row are loaded they are shown, and the loading indicator is below the first row of images. It doesn't appear in your page?

Thank you


Reply to this email directly or view it on GitHub.

from justified-gallery.

jrondorf avatar jrondorf commented on May 27, 2024

So, do you see any options here?

from justified-gallery.

jrondorf avatar jrondorf commented on May 27, 2024

Hi, me again. I would be able to develop this by my own if you are able to gibe me a hint where to start.
I was not able to find in your coding the show/hide trigger for the spinner.

Thanks in advance!

from justified-gallery.

miromannino avatar miromannino commented on May 27, 2024

Hi jrondorf, the starting point is this one:

// Spinner start
if (context.spinner.active === false) {
    context.spinner.active = true;
    $gallery.append(context.spinner.$el);
    $gallery.height(context.offY + context.spinner.$el.innerHeight());
    startLoadingSpinnerAnimation(context.spinner);
}

If it will be simple and clear enough I will add it to the official version.

from justified-gallery.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.