-
Notifications
You must be signed in to change notification settings - Fork 553
Open
Labels
Description
Hello
I'm trying to make jscroll to work with 2 instances in the same time: I want to load next posts in the middle of the page and next instagram posts at the bottom of the page.
I can make the first one to work but not the second one and vice versa.
Here's how I do it:
$('#lazy-posts').jscroll(
{
debug: true,
loadingHtml:'',
padding: 0,
nextSelector: 'a.jscroll-next-posts:last',
contentSelector: ''
}
);
// lazy loading instagram
$('#lazy-instagram').jscroll(
{
loadingHtml:'',
padding: 0,
nextSelector: 'a.jscroll-next-instagram:last',
contentSelector: ''
}
);Is it possible to do this?