Jscroll not display trigger option (load more option)

我与影子孤独终老i 提交于 2019-12-08 05:06:13

问题


I am using a jscroll JQuery plugin. I have to use autotriggeruntil: 3, but it's not displaying, it loads more options instead of loading all content. Why?

Here is my code:

$('#product-grid').jscroll({
        autotrigger: true,
        autotriggeruntil: 3,
        pagingselector: '.next-page a',
        nextselector: '.next-page a',
        contentselector: '.test',
    });

please suggest to me how can I do this?

Regards,

vinit


回答1:


I have found solution.

here i have hide paging elements, so next link is not display,so here i just show a next link and hide other element so it's works fine.

Regards, vinit



来源:https://stackoverflow.com/questions/25238971/jscroll-not-display-trigger-option-load-more-option

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!