モバイルショップのカテゴリ結果にプラグインjqueryinfiniteajax scroll(ias)を使用しています。
スクリプトは、スクロールまたは下にスワイプすることで、次のページのアイテムを複数回起動します。
ここでテストできます:テストページ
リンクをクリックした場合は、ウィンドウのサイズを320pxの幅に変更してください。そうしないと、cssが機能しません。
スクリプト:
$(document).ready(function() {
document.onscroll = function() {
jQuery.ias({
container : 'div.articlelist',
item: '.row',
pagination: '.pagination',
next: '.pagination a:first',
loader: '<img src="/layout/mobil/img/ajax-loader.gif"><br>Artikel werden geladen...',
history: false,
onLoadItems: function(items) {
$(items, '.bubbles').find('span:eq(0)').css('margin-right','107px');
$(items, '.bubbles').find('span:eq(1)').css('margin-right','51px');
$(items, '.bubbles').find('span:eq(2)').css('margin-right','102px');
}
});
}
});