- 2

Reverse infinity scroll

anybody can help in this problem ? https://stackoverflow.com/questions/45320704/asp-net-webform-infinity-scroll tks in any case

27th Jul 2017, 7:16 AM
jonata
1 Resposta
0
In javascript use an event listener on the window or document and if the user scrolls up more than x amount of pixels then send and Ajax request to the server. When the server responds, you simply prepend the new data. Quite easy with jQuery's prepend() method. You can also use vanilla javascript using insertBefore.
10th Feb 2022, 4:49 PM
Leo
Leo - avatar