Hello,
I just spoke with Fadhi and was asking about a load more button instead of pagination when loading blogs. I believe this could help in load time of a page and also let the end user know that there is more to see.
Maybe code like this:
Maybe something like this on a page to page setting or just for the EasyBlog - Latest Blogs Module. Thanks for listening.
Regards,
Rob
I just spoke with Fadhi and was asking about a load more button instead of pagination when loading blogs. I believe this could help in load time of a page and also let the end user know that there is more to see.
Maybe code like this:
$(function(){
$("div").slice(0, 10).show(); // select the first ten
$("#load").click(function(e){ // click event for load more
e.preventDefault();
$("div:hidden").slice(0, 10).show(); // select next 10 hidden divs and show them
if($("div:hidden").length == 0){ // check if any hidden divs still exist
alert("No more divs"); // alert if there are none left
}
});
});
Maybe something like this on a page to page setting or just for the EasyBlog - Latest Blogs Module. Thanks for listening.
Regards,
Rob