public marks

PUBLIC MARKS from decembre with tags infinite-scroll & layout

22 April 2015 08:45

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.)

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 +