Welcome to the Question2Answer Q&A. There's also a demo if you just want to try it out.
0 votes
in Q2A Core by
edited by
I want it to load related questions only when the user reach to bottom of page
Is it possible using php and simple JavaScript combination?
No. PHP is running on the server side and constructs the page before it's delivered to your browser. You want to manipulate it after it has been delivered to the browser. That's only possible with client-side scripting, which basically means JavaScript.
You may try rewrite the related plugin as an ajax page. And use Javascript to detect the condition that the users reach the end of a question page (maybe it detects the device height or something), and then trigger the ajax page.
Ok thanks.
I will try

Please log in or register to answer this question.