|
|
@ -46,12 +46,12 @@ |
|
|
|
|
|
|
|
<script type="text/javascript"> |
|
|
|
|
|
|
|
//Pagination https://www.javaer101.com/en/article/123201810.html |
|
|
|
pageSize = 24; |
|
|
|
incremSlide = 5; |
|
|
|
startPage = 0; |
|
|
|
numberPage = 0; |
|
|
|
|
|
|
|
//pagination slider ref https://www.javaer101.com/en/article/123201810.html |
|
|
|
|
|
|
|
var pageCount = $(".browsethearchive-items").length / pageSize; |
|
|
|
var totalSlidepPage = Math.floor(pageCount / incremSlide); |
|
|
@ -150,7 +150,7 @@ $(".next").click(function() { |
|
|
|
$("#pagin li a.current").removeClass("current"); |
|
|
|
nextLi.addClass("current"); |
|
|
|
|
|
|
|
if (i < ($('.browsethearchive-items').length)/4) { |
|
|
|
if (i < ($('.browsethearchive-items').length)/ pageSize) { |
|
|
|
showPage(++i); |
|
|
|
} |
|
|
|
}); |
|
|
|