Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Can't retrieve image properly when use for infinite scrolling page #103

Open
anggadarkprince opened this issue Feb 26, 2016 · 1 comment

Comments

@anggadarkprince
Copy link

sometimes the images are loaded sometimes didn't,,,

@ljluestc
Copy link

ljluestc commented Dec 2, 2023

// Assuming you load new content using an AJAX call
$.ajax({
  url: 'load-more-content.php',
  success: function(data) {
    // Append the new content to your container
    $('#content-container').append(data);

    // Initialize Echo.js for the new content
    echo.init({
      offset: 100, // Adjust this offset value as needed
      throttle: 250,
      unload: false,
    });
  },
});

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants