hi, I am using infinite ajax scroll on my page and I added magnific popup ajax view it's wroking fine with first page but when I am scrolling to page it's not working ... how can I solve it ? thanks for answers,,,
here infinite ajax scroll;
$(document).ready(function() {
var ias = $.ias({
container: "#switchview",
item: "article.post",
pagination: ".posts-navigation",
next: ".nav-previous a"
});
var inumber = mainscript.infinitenumber;
ias.extension(new IASSpinnerExtension({
html: '<div class="switch-loader"><span class="loader"></span></div>' // override text when no pages left
})); // shows a spinner (a.k.a. loader)
ias.extension(new IASTriggerExtension({offset: inumber})); // shows a trigger after page 3
ias.extension(new IASNoneLeftExtension({
html: '<div class="load-nomore"><span>There are no more pages left to load.</span></div>' // override text when no pages left
}));
});
hi, I am using infinite ajax scroll on my page and I added magnific popup ajax view it's wroking fine with first page but when I am scrolling to page it's not working ... how can I solve it ? thanks for answers,,,
here infinite ajax scroll;
and here magnific popup code;