Hey, What I would like is to use the jQuery plugin: LazyLoad
But, rather than trigger the event on Window Scroll – I would like to trigger it when the
elements come into view.
(I have no scroll bars on my site, so scroll bars are not an option).
Help me before I have no hair left.
EDIT: Ok, so I got it to work – SORT OF – it only seems to work vertically and ONLY WITH THE OVERFLOW SHOWING! *
Your best bet is to set a timer and repeatedly check for image visibility. Or you can make the
trackerfunction public method and then call it from the outside if something alters.Change LazyLoad to something like this: