How to do page navigation for many, many pages? Logarithmic page navigation

后端 未结 4 1127
闹比i
闹比i 2020-11-28 05:49

What\'s the best way of displaying page navigation for many, many pages?

(Initially this was posted as a how-to tip with my answer included in the question. I\'ve

4条回答
  •  孤城傲影
    2020-11-28 06:13

    How about:

    a) add <-100 <-10 [pagination] +10> +100> instead of blow up the pagination itself

    b) offer a direct page input [# .. ] [ view ] , filter the input against the valid page range

    c) needs some proper coding, but: expand the inner, floating range by say +/-10, +/-25, +/-100 page instead of blowing up the complete paging range

提交回复
热议问题