Support » Plugin: BJ Lazy Load » Adding a time delay to determine load/not load

  • witaytom1


    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.

Viewing 1 replies (of 1 total)
  • Plugin Author Bjørn Johansen


    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.

Viewing 1 replies (of 1 total)
  • The topic ‘Adding a time delay to determine load/not load’ is closed to new replies.