I saw some web page with a lot of images, only the images inside the scrolled viewport are displayed for external images, when I scroll down, it will be loaded.
How can I do that?
try this jquery lazy load plugin, it works great, is very customizable, and you don't have to deal with cross browser issues:
http://plugins.jquery.com/project/lazyload
The magic word is "Lazy loading." I have no experience, but this plugin is one of the most popular solutions.
You can take a look at the following article that uses jquery.
Source: https://habr.com/ru/post/1794786/More articles:ASP.NET Transferring data between multiple page sessions - asp.netAS3: Impossible to have getters and setters for one variable in different interfaces? - interfaceСовместимость объектов JPA для SQL Server и Oracle (проблемы с автоинкрементами) - java-eeto create elements and set attributes inside each other using jquery? - jqueryGoogle Lazyloading API not working - javascriptwhere should I create a constructor, and where shouldn't I? - java.htaccess: Cache Control, how can I handle website updates? - phpLazy loading google map api - javascriptHow to implement a rendering tool regarding CPU capabilities - javascriptSuppose I have a list of 500 thumbnails followed by a name. How to load images as the user scrolls? (JQuery) - javascriptAll Articles