For content generated after scroll, fb widget doesn't load.

Comments

ferdi’s picture

It looks more like "view infinite scroll" problem to me.
Thanks!

zave’s picture

I think that it's a problem with every ajax generated content.

The <fb> tags (<fb:like> etc..) are printed correctly, but with nothing inside.

Maybe the javascript needs to be refreshed after the ajax call..

Thanks

vegantriathlete’s picture

This isn't exactly the right place to post this, but it is related. I have placed a support request in the Infinite Scroll queue asking about a similar problem I am having with a jQuery script I'm using. Basically, the script runs fine on the items loaded in the first page but not on any items loaded by the auto pager. I am guessing that the resolution to this issue will be similar to the resolution for my issue.

Update: I see the same issue with Views Infinite Pager. I am having the same suspicion as above that the issue is that ajaxed-in items are not actually added to the HTML of the page. So, my jQuery function doesn't see them. This doesn't seem exactly like what you are describing (content not being loaded inside of divs), but may also be due to the fact that the items aren't in the actual HTML.

vegantriathlete’s picture

I think that this may have to do with when the event is bound (at least I'm reasonably certain that's where my solution will lie). You can find good information and other links here:

http://docs.jquery.com/Frequently_Asked_Questions#Why_do_my_events_stop_...

I'll post my solution in the support request from above.

vegantriathlete’s picture

FYI: Instead of what I indicated in comment #4, I have decided to continue the thread in the Forum topic instead of the request for support.