|
|
@ -77,11 +77,11 @@ $(function() {
|
|
|
|
layoutMode : "fitRows"
|
|
|
|
layoutMode : "fitRows"
|
|
|
|
});
|
|
|
|
});
|
|
|
|
|
|
|
|
|
|
|
|
$(".load-more .row").infinitescroll({
|
|
|
|
/*$(".load-more .row").infinitescroll({
|
|
|
|
debug: false,
|
|
|
|
debug: true,
|
|
|
|
navSelector : ".pagination",
|
|
|
|
navSelector : ".pagination",
|
|
|
|
// selector for the paged navigation (it will be hidden)
|
|
|
|
// selector for the paged navigation (it will be hidden)
|
|
|
|
nextSelector : ".pagination a:last",
|
|
|
|
nextSelector : ".next",
|
|
|
|
// selector for the NEXT link (to page 2)
|
|
|
|
// selector for the NEXT link (to page 2)
|
|
|
|
itemSelector : ".load-more .book",
|
|
|
|
itemSelector : ".load-more .book",
|
|
|
|
animate : true,
|
|
|
|
animate : true,
|
|
|
@ -89,6 +89,22 @@ $(function() {
|
|
|
|
// selector for all items you'll retrieve
|
|
|
|
// selector for all items you'll retrieve
|
|
|
|
}, function(data) {
|
|
|
|
}, function(data) {
|
|
|
|
$(".load-more .row").isotope( "appended", $(data), null );
|
|
|
|
$(".load-more .row").isotope( "appended", $(data), null );
|
|
|
|
|
|
|
|
});*/
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
var $loadMore = $(".load-more .row").infiniteScroll({
|
|
|
|
|
|
|
|
debug: false,
|
|
|
|
|
|
|
|
// hideNav : ".pagination", # ToDo Renable functionn
|
|
|
|
|
|
|
|
// selector for the paged navigation (it will be hidden)
|
|
|
|
|
|
|
|
path : ".next",
|
|
|
|
|
|
|
|
// selector for the NEXT link (to page 2)
|
|
|
|
|
|
|
|
append : ".load-more .book",
|
|
|
|
|
|
|
|
//animate : true,
|
|
|
|
|
|
|
|
//extraScrollPx: 300
|
|
|
|
|
|
|
|
// selector for all items you'll retrieve
|
|
|
|
|
|
|
|
});
|
|
|
|
|
|
|
|
$loadMore.on( 'append.infiniteScroll', function( event, response, path, data ) {
|
|
|
|
|
|
|
|
$(".pagination").addClass("hidden");
|
|
|
|
|
|
|
|
$(".load-more .row").isotope( "appended", $(data), null );
|
|
|
|
});
|
|
|
|
});
|
|
|
|
|
|
|
|
|
|
|
|
$("#restart").click(function() {
|
|
|
|
$("#restart").click(function() {
|
|
|
|