desandro / masonry

:love_hotel: Cascading grid layout plugin
https://masonry.desandro.com
16.38k stars 2.11k forks source link

Masonry & Infinite-Scroll on tumblr! #293

Closed kwcbg closed 11 years ago

kwcbg commented 11 years ago

Can't figure out what I'm doing wrong here! I've been working on this for two (2) weeks, and I know the answer is right in front of my face just can't see it! The masonry works, but it won't infinite-scroll! Here's my code:

<!DOCTYPE html>

La Femme Nikita | Piranha 3DD ```
``` {block:Posts}
{block:Text}
{block:Title}

{Title}

{/block:Title} {Body} {block:IndexPage} {/block:IndexPage}
{/block:Text} {block:Quote}

“{Quote}”

{block:Source}

{Source}

{/block:Source} {block:IndexPage} {/block:IndexPage}
{/block:Quote} {block:Link} {/block:Link} {block:Chat}
    {block:Lines}
  • {block:Label}{Label}{/block:Label} {Line}
  • {/block:Lines}
{block:IndexPage} {/block:IndexPage}
{/block:Chat} {block:Audio}

{AudioPlayerBlack}

{block:IndexPage}{block:IfShowCaptions} {block:Caption}{Caption}{/block:Caption} {/block:IfShowCaptions}{/block:IndexPage} {block:IndexPage} {/block:IndexPage}
{/block:Audio} {block:Answer}

{Question}

@{Asker}

{Answer} {block:IndexPage} {/block:IndexPage}
{/block:Answer} {block:Photoset}
{block:IndexPage} {/block:IndexPage}
{Photoset-400}
{block:IndexPage}{block:IfShowCaptions} {block:Caption}
{Caption}
{/block:Caption} {/block:IfShowCaptions}{/block:IndexPage}
{/block:Photoset} {block:Video}
{block:IndexPage} {/block:IndexPage}
{Video-400}
{block:IndexPage}{block:IfShowCaptions} {block:Caption}
{Caption}
{/block:Caption} {/block:IfShowCaptions}{/block:IndexPage}
{/block:Video} {block:Photo}
{block:IndexPage} {/block:IndexPage} {block:IndexPage} {PhotoAlt} {/block:IndexPage} {block:PermalinkPage} {LinkOpenTag}{PhotoAlt}{LinkCloseTag} {/block:PermalinkPage}
{block:IndexPage}{block:IfShowCaptions} {block:Caption}
{Caption}
{/block:Caption} {/block:IfShowCaptions}{/block:IndexPage}
{/block:Photo} {block:IfShowTags}{block:IndexPage}{block:HasTags}

{lang:Tagged}: {block:Tags}#{Tag} {/block:Tags}

{/block:HasTags}{/block:IndexPage}{/block:IfShowTags} {block:PermalinkPage}
{block:Caption}
{Caption}
{/block:Caption} {block:HasTags}

{lang:Tagged}: {block:Tags}#{Tag} {/block:Tags}

{/block:HasTags} {block:PostNotes} {PostNotes} {/block:PostNotes}
{/block:PermalinkPage}
{block:ContentSource} {/block:ContentSource} {/block:Posts} ```
``` ``` ```
kwcbg commented 11 years ago

Oh, tumblr page is: http://nomdecodenikita.tumblr.com

desandro commented 11 years ago

Please see https://github.com/desandro/issues-agreement#readme

At first glance, it looks like you're missing including infinite-scroll.js https://github.com/paulirish/infinite-scroll

kwcbg commented 11 years ago

@desandro Thanks! :-)