0
모바일 샵의 카테고리 결과에 대한 플러그인 jquery infinite ajax scroll (ias)을 사용하고 있습니다.jquery 무한 아약스 스크롤 항목 multible 번
스크롤 또는 아래로 스 와이프하여 스크립트는 다음 페이지 항목을 여러 번 실행합니다.
당신은 여기를 테스트 할 수 있습니다 : 당신이 링크를 클릭하면 Testpage
, 그렇지 않으면 CSS가 작동하지 않습니다, 320 ~의 폭에 창 크기를 조정하시기 바랍니다!
스크립트 :$(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');
}
});
}
});
나는 당신이 의미하는 것을 보여줄 수 있습니까? –
예. 방금 추가했습니다. 나쁜 들여 보내서 미안해. –
완벽하게 작동합니다! 살고 배우고 ... 고마워. 내 하루 만들었 어! –