diff --git a/templates/browsethearchive.html b/templates/browsethearchive.html index 07ea014..234bed8 100644 --- a/templates/browsethearchive.html +++ b/templates/browsethearchive.html @@ -154,59 +154,6 @@ $(".next").click(function() { }); - - - - // $("#pagin li a").removeClass("current"); - // $(this).addClass("current"); - - - - - - // $(".next").removeClass(""); - // $(this).addClass(""); - - - - //$('#pagin li a').removeClass('current'); - - // $("#pagin li").eq().addClass('current'); - - // $(this).addClass('current'); - // var activeLink=$(this); - // $activeLi.next().addClass('current'); - - // showPage($('#pagin li a').addClass('current')); - - // var $activeLi = $('#pagin li').find("a.current"); - // $activeLi.removeClass('current'); - - // if($activeLi.next()!=null && $activeLi.next()!=undefined ){ - // $activeLi.next().addClass('current'); - // }else{ - // $('#pagin li').find("a:last").addClass("current") - // } - - - - - -// $('.next').on('click',function(){ -// var $activeLi=$('#pagin li').find("a.current"); -// $activeLi.removeClass('current'); - -// if($activeLi.next().length>0 ){ -// $activeLi.next().addClass('current'); -// }else{ -// $('#pagin li').find("a:first").addClass("current") -// } - -// }); - -// https://stackoverflow.com/questions/23335133/add-and-remove-pagination-active-class-when-i-click-in-next-and-prev-arrows -// https://stackoverflow.com/questions/23335133/add-and-remove-pagination-active-class-when-i-click-in-next-and-prev-arrows/23337941 -