Note that there are some explanatory texts on larger screens.

plurals
  1. PO
    primarykey
    data
    text
    <p>Questions: 1- Are you including the jQuery Javascript framework dependencies as well in your codebase? 2- I have downloaded the zip file, ran it on Xammp locally and it appears to be a downloaded demo not a test page, can you please confirm which page is your test page from the compressed file attached to your question? 3- Can you create a mockup (in case that there is some server side code happening) in jsfiddle? 4- The link provided for the Infinite scroll jquery plugin is broken, it should be: <a href="https://github.com/joneath/infiniScroll.js" rel="nofollow">https://github.com/joneath/infiniScroll.js</a></p> <p>If you want to make the jQuery paginator plugin to be independent, you might want to trigger it considering the container element as well</p> <p>....</p> <p>From the suggested link, I think that we should experiment with this. Else you might want to create a cookie or something for the browser to remember the changes to the plugin on multiple instances.. Here are some thoughts?</p> <p>1#</p> <pre><code> Backbone.InfiniScroll(collection, **options**) </code></pre> <p>Instantiate a new InfiniScroll object after your Backbone view has been rendered.</p> <pre><code>myView = Backbone.View.extend({ initialize: function(){ _.bindAll(this, "render"); this.render(); this.infiniScroll = new Backbone.InfiniScroll(this.collection, {success: this.appendRender}); </code></pre> <p>} )};</p> <p>2# At a glance from the Options menu</p> <pre><code> target: $(window), </code></pre> <p>Perhaps we should try: </p> <pre><code> $(body).find('#container1'), </code></pre> <p>-or- </p> <pre><code> $(window).children('div').hasClass('container'), </code></pre> <p>Just some ideas, haven't experimented it myself-</p> <p>3# You might want to make (1) to be a javacript function and trigger it based on a class or on it's id for initializing the scroll over a desired container. </p> <p>That's all the ideas I could come up by taking a look real quick, but feel free to reply if it helps out or at least gives some direction.</p> <p>4# Another thought is that myView can be a variable with an id of a timestamp in Javascript, that way you can ensure uniqueness and since you are calling new then you could have several instances of the plugin running for your view.</p>
    singulars
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    plurals
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. VO
      singulars
      1. This table or related slice is empty.
    1. This table or related slice is empty.
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload