Closed sswany closed 11 years ago
Yes, Riloadr's belowfold defer mode only works vertically.
The load
defer mode will load all images that belong to a group when the windows is loaded.
So, yes, that is the expected behaviour.
would be nice if belowfold worked in any direction
similar to https://github.com/sebarmeli/JAIL/blob/master/src/jail.js
determines if the images are in the viewport, this is nice when you deep link to the bottom of the page and scroll up, or have a horizontal scroll.
Indeed a nice suggestion, I'll consider implementing it.
Version 1.4.0 is out and includes this feature, check it out and spread the word ;)
Thanks for your feedback!
I'm using Riloadr in conjunction with jScrollPane for a horizontally scrolling gallery and the
defer: 'belowfold'
option does not stop images from being loaded until they near the viewport. Using theonload
call, it seems to load all of them at once.Is this expected behavior?