javascript - How to achieve the effect that the subsequent content is not loaded at first, but as the mouse scrolls down, the subsequent content is gradually loaded?
There is no content at the beginning, scroll down and the content at the back will gradually load in
Look, are they the special effects of Kappa’s Tmall flagship store’s new spring and summer products? https://kappa.tmall.com/view_...
This special effect is achieved through fixed, which is the method usually used by websites for advertising.
dropload event
Lazy loading solution, the main function is to reduce the load on the server
https://www.w3cways.com/1765....
I just saw your title and I thought it was drop-down loading. I usually use dropload to implement drop-down loading. Later, I saw what was written on the first floor and thought you might need js special effects.
Keeping the pull down and loading plus animation can be achieved using fullPage.js.
In fact, it is paging. You can refer to the following two:
jquery iscroll pull-up and drop-down loading content:
http://www.kuitao8.com/201501...
dropload.js:
https://github.com/ximan /drop...
I used the "load more" effect you mentioned on the order list page of the mall. I used the "stream loading" in Layui, and the effect was good.
demo: http://www.layui.com/demo/flo...
flow.load({
});