miromannino / Justified-Gallery

Javascript library to help creating high quality justified galleries of images. Used by thousands of websites as well as the photography community 500px.
http://miromannino.github.io/Justified-Gallery/
MIT License
1.69k stars 299 forks source link

Infinite scroll - Change spinner #202

Closed isoriaizquierdo closed 7 years ago

isoriaizquierdo commented 7 years ago

Hey @miromannino,

Is there any way to change the spinner for the infinite scroll case.

I have been trying to change the current one (3 dots) for this one: http://codepen.io/supah/pen/BjYLdW But it's being more difficult than I expected.

I'm guessing the key is on this part of the code? (justifiedGallery.js):

this.spinner = {
      phase : 0,
      timeSlot : 150,
      $el : $('<div class="spinner"><span></span><span></span><span></span></div>'),
      intervalId : null
};

Or I am focusing in the wrong part? Thanks.