Support » Plugin: Infinite-Scroll » [Plugin: Infinite Scroll] Infinite scroll and ajax loaded content

  • Hello!

    I have been struggling for a couple of day already with a new theme. The website uses ajax content loading (proceeded according this tutorial) and it works fine. As second step I tried to install Infinite Scroll plugin but it didn’t work so I implemented it manually. So far so good but here comes my problem.

    If you take a look at the website you’ll notice that on the frontpage the infinite scroll plugin it won’t even load/work. But moving forward if you navigate to the BLOG section of the website you’ll see that the plugin works just fine.

    The theme is based on twentyten with custom adjustments.

    Any help would be much appreciated and I will own you tons of coffee or beer! 🙂

    http://wordpress.org/extend/plugins/infinite-scroll/

Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Contributor beaver6813

    (@beaver6813)

    Hi Adrian, did you mange to fix this in the end?

    Hi, well actually yes, but I had to implement manually infinite scroll and I had to unbind the .infscr every time when the main menu was clicked. Something like:

    $("#AboutContentFilter").click(function(){
    			$("body").load('about');
    			$(window).unbind('.infscr');

    And of course for every menu item. Maybe it’s not the best solution but it works (FF, Chrome, Safari – Windows/MAC etc.) The single problem is that the loading time is increased a bit but maybe I will be able to balance it from other elements (images, compressing etc.) or with a quick JS makeover … Will dig around more when I`ll have some spare time.

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘[Plugin: Infinite Scroll] Infinite scroll and ajax loaded content’ is closed to new replies.