Viewing 7 posts - 1 through 7 (of 7 total)
  • Author
    Posts
  • abdullah canipek Friend
    #200563

    I want to fixel’s home page infinity, but when the user scroll down then automaticly load more with out clicking “Load More” button. Like facebook, instagram, or etc. 🙂

    thanx for the answers already 🙂

    bucklash Friend
    #546271

    Hi

    This isn’t a solution, more of a comment:
    For some people, automatically loading as you scroll to the bottom is really annoying and forces the user to use bandwidth when they might not want to.

    That’s my thoughts. Have a good day

    Jon

    abdullah canipek Friend
    #546792

    Thank you bucklash,
    but i think auto loading more userfriendly than button. You are right bandwith thing.

    I hope JA Developers or Support Guy answer my question.

    Ninja Lead Moderator
    #546849

    <em>@asccanipek 442300 wrote:</em><blockquote>Thank you bucklash,
    but i think auto loading more userfriendly than button. You are right bandwith thing.

    I hope JA Developers or Support Guy answer my question.</blockquote>

    Hope my solution below will help you to do this

    Open templates/ja_fixel/js/script.js file

    Find and change

    if(nextbtn.length){

    nextbtn.on('scroll', function(){

    if(!nextbtn.hasClass('finished')){
    ploader.modal('show');
    masonry.infinitescroll('retrieve');
    }

    return false;
    });

    ploader.insertBefore(nextbtn);
    }

    To

    if(nextbtn.length){

    $(window).scroll(function(){
    ploader.modal('show');
    masonry.infinitescroll('retrieve');
    });
    ploader.insertBefore(nextbtn);
    }

    abdullah canipek Friend
    #546969

    Thank you Ninja Lead,
    Your code working but, when scrolling bottom load all articles,how to can i do this step by step (for example: first loading 10 article, second 10, third 10 )

    Ninja Lead Moderator
    #547128

    Nope, that codes above only loads next page if you scroll down and not load all, you can check it with Intro Articles set 5 in Home of Main Menu like as my screenshot

    and enable inspect element for your browser and check it with each scroll-down.


    1. load_page
    cocvau87 Friend
    #549192

    Thank you so much, Ninja Lead

Viewing 7 posts - 1 through 7 (of 7 total)

This topic contains 7 replies, has 4 voices, and was last updated by  cocvau87 10 years, 1 month ago.

We moved to new unified forum. Please post all new support queries in our New Forum