public marks

PUBLIC MARKS from decembre with tag infinite-scroll

2018

USERSCRIPT - Nexto (infinite scroll) FOR Babelio - Découvrez des livres, critiques, extraits, résumés

1 comment
var implementations = [ { site: "https://www.babelio.com/mabibliotheque.php", // regex to compare against site URL, similar to @include nextLinkSelector: ".fleche.icon-next", // css selector for the next link, tip: find the current page button and do next sibling contentSelector: ".mes_livres", // the content that will be added to from the next page javascript: false // set this to true if the website uses javascript to load content, 50% chance it'll work }, { site: "https://www.babelio.com/livres-", // regex to compare against site URL, similar to @include nextLinkSelector: ".pagination .icon-next", // css selector for the next link, tip: find the current page button and do next sibling contentSelector: "#debug", // the content that will be added to from the next page javascript: false // set this to true if the website uses javascript to load content, 50% chance it'll work } } ];

2017

JAVASCRIPT - Infinite Scroll - 'infinite-scroll' Questions - Page 2 - Stack Overflow

Tagged Questions: Infinite Scrolling, also known as endless scrolling, is a technique that is widely used by websites and Web applications that host lots of content on a page where pagination would traditionally have been used. Infinite scrolling involves initially loading only one page of content. As the user ...

2015

FLICKT - mars 2015 - Introducing the New! Shiny ! Photolist framework - code.flickr.com

(via)
Some photolist pages on Flickr use infinite scrolling, and some display results one page at a time. Regardless of how a page shows its photos, it starts to feel messy when there is an incomplete row of photos hanging off the end of the page. If there is more content in the set, the last row should be full. However, since we fetch photos from the API in fixed batch sizes, things don’t always work out so nicely, leaving “leftovers” in the bottom row. Borrowing from typesetting terminology, we call these leftover photos orphans. (We can also paginate backwards; leftovers at the top are technically widows but we’ll just keep using the term orphans for simplicity.)

INFINITE SCROLL - jQuery - Reset / disable infinite scroll after AJAX call - Stack Overflow

I am using infinite-ajax-scroll (https://github.com/webcreate/infinite-ajax-scroll) plugin with filtering. I have the filters working with the infinite scroll but my issue is, whenever the scroll get the the end of the results for one filter it will no longer scroll, even after another filter is selected. I therefore need to reset the infinate scroll when the filter is selected but I cannot find anywhere in the documentation on how to reset this and am not great with JQuery and so cannot figure this out.

INFINITE SCROLLING - To Infinite Scroll or Not to Infinite Scroll: Where We’ve Come So Far | Design Shack

In fact, infinite scrolling was removed from the site after the number of clicks on favorites decreased and the search function was not used anymore.

decembre's TAGS related to tag infinite-scroll

analyse +   api +   babelio +   code +   design +   dev +   documentation +   flickr +   forum +   greasyfork +   javascript +   jQuery +   layout +   masonry +   pagination +   plugin +   scroll +   search +   site +   userscript +