We build. You grow.

Get best community software here

Start a social network, a fan-site, an education project with oxwall - free opensource community software

View More | Forum

Nirmalya Ghosh
Nirmalya Ghosh Jan 9 '13
Howdy everyone,


Can I know what is the javascript code in the "View More" tab of the newsfeed so that I can tweak it to load older posts automatically once the user has reached the bottom of the page.


I had found the following piece of code that registers whether a user is at the bottom of the page 


$(document).ready(function() {$(window).scroll(function() {if($(window).scrollTop() + $(window).height() == $(document).height()) {/*The "View More" javascript here*/;}});});




Am I doing this right?

Alia Team
Alia Jan 9 '13
Topic was moved from General Questions.
Michael I.
Michael I. Jan 10 '13
This is an advanced modification. We cannot provide you with instructions on how to perform it, sorry.