BJ Lazy Load
Adding a time delay to determine load/not load (2 posts)

  1. witaytom1
    Posted 2 years ago #

    First, thanks for the plugin.

    My question is this:
    Is there a way of inserting a brief time delay so that, if an image gets scrolled over/past (out of view) quick enough, it does not load (i.e. images only load if they are on the screen for a determined length of time)?

    I appreciate any suggestions/help you might be able to offer up. Or if you could just point me in the right direction, that would be great.


  2. Bjørn Johansen
    Plugin Author

    Posted 2 years ago #

    This would require a rewrite of the javascript in this manner:
    When the image enter the bounds, set a timeout with a callback. The callback checks whether the image is still within the bounds and if it is, loads the image.

Topic Closed

This topic has been closed to new replies.

About this Plugin

  • BJ Lazy Load
  • Frequently Asked Questions
  • Support Threads
  • Reviews

About this Topic