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

How to achieve animated scrolling on an oxwall newsfeed | Forum

Joey
Joey Jun 15 '14

I would like the newsfeed  to have animated scrolling.I have tried editing the newsfeed.js,after the 

this.$viewMore = this.$('.ow_newsfeed_view_more_c'); 

on line 24 i added

$(window).scroll(function(){$(window).scrollBy(0,1);scrolldelay =setTimeout('scroll()',10);if($(window).scrollTop()+$(window).height()==$(document).height()){varbtn =self.$viewMore.find(‘.ow_newsfeed_view_more’);btn.trigger(“click”);}});

to implement infinite scrolling as well as animated automatic scrolling of the newsfeed,the problem is that its not working even after i edited the else part of config file to dev mode to true.