Infinite Scrolling Like Facebook | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
0

Infinite Scrolling Like Facebook

I am making a website in php mysql but I wanna infinite scrolling of my web and new content start displaying when I scrolled at bottom.anyone has its code share me pls.

9th Jan 2017, 12:24 PM
Rahul Vashisth
Rahul Vashisth - avatar
5 Answers
+ 7
Learn Ajax…
9th Jan 2017, 12:31 PM
Valen.H. ~
Valen.H. ~ - avatar
+ 2
I would not write the code for you, but it can be doing with php and js ( and knowlenge of html/css )... You need to manage the display dynamicaly ( client side, with js ) at same time you manage communication of data on demand from client to server: this is here that comes 'ajax'. Ajax is accronym for Asynchronious JAvascript and Xml ); behind this barbarian name hides the combination of a set of technologies for simplify data exchange handling without a new web page request. The essential component to known in JS is the XMLHttpRequest ( XML is the default structure used by Ajax, but can handle simple text, so can handle any text format, within the most useful for JS is JSON...
9th Jan 2017, 9:03 PM
visph
visph - avatar
+ 1
yeah....you need to use "Anguler JS" framework then 😉
9th Jan 2017, 1:36 PM
NabiL
NabiL - avatar
0
would you like to share code
9th Jan 2017, 12:33 PM
Rahul Vashisth
Rahul Vashisth - avatar
0
can't we do it with php query or js
9th Jan 2017, 12:33 PM
Rahul Vashisth
Rahul Vashisth - avatar