tuupola/jquery_lazyload — pull request #181 by drrobotnik (2014-02-26 21:51:35+00:00)
Title: Parent parameter

adds optional parameter "parent". The idea is that if set you check that the parent is inviewport, and if so trigger the lazyload.

In my case I have a few sliders on a page, the slide elements are obviously always outside the viewport. Because of this currently the only option is to add an event, like slide change. I'd rather set it so that all slides get loaded when the parent slider becomes visible.