WordPress.org

Support

Support » Plugins and Hacks » BJ Lazy Load » Adding a time delay to determine load/not load

Adding a time delay to determine load/not load

  • 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.
    Thanks

    http://wordpress.org/plugins/bj-lazy-load/

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

    @bjornjohansen

    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.
Skip to toolbar