Comments (5)
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.
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.
So, do you see any options here?
from justified-gallery.
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.
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)
- Borders and paddings for images HOT 29
- How to use in Angular 2+
- Error handling
- Lazy loading images HOT 1
- WebP support HOT 3
- Grammar: "Justified Gallery is a JavaScript library that allows you to create an high quality justified gallery of images."
- dist/css/justifiedGallery.min.css is not minified
- Lazyloaded images are not rendered on Firefox
- sizeRangeSuffixes doesn't work if the preview is embedded using base64 encoding
- Justify first instead of last row when odd number of images HOT 1
- Separate row height for smartphone/mobile devices HOT 4
- Many pictures are loaded but not shown.
- Multiple containers and jumping scroll position
- Is it possible to set breakpoints for different rowHeights? HOT 1
- I can't embed videos in a href tag
- Howto unhide lastrow = hide?
- page freeze
- Additional features!
- How to get it to work with ES6 Modules (if you're finding it isn't working)
- limit the number of images
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from justified-gallery.