var ias = $.ias({
container: ".listbox",
item: ".item",
pagination: ".pagelist",
next: ".pagelist a.next",
});
ias.extension(new IASSpinnerExtension({
src: "/images/loadinglit.gif",
html: '<p style="text-align: center;" class="clear"><img src="{src}"/></p>'
}));
ias.extension(new IASTriggerExtension({
text: '点击加载更多',
html: '<p style="text-align: center; cursor: pointer;" class="clear more"><a>{text}</a></p>',
offset: !1,
}));
ias.extension(new IASNoneLeftExtension({
text: '没有更多了,已经加载完!',
html: '<p style="text-align: center; cursor: pointer;" class="clear more"><a>{text}</a></p>',
}));
|