我使用的是https://github.com/paulirish/infinite-scroll没有WordPress,只有jQuery。
我的链接看起来像这样
"mysite.com/whatever/25"
"mysite.com/whatever/50"
"mysite.com/whatever/75"但是它加载的新页面就像这样
"mysite.com/whatever/25"
"mysite.com/whatever/35"
"mysite.com/whatever/45"为什么它不直接使用我指向"#pagination li.active + li a"的链接的href?而不是将它认为是下一页的部分递增1!?
编辑;我使用的是偏移量,而不是页码
发布于 2013-05-20 11:46:26
尝试使用这个http://pengkong.github.io/jquery-auto-pagination/,它不依赖于运行页码和/或固定的增量,不像无限滚动。
https://stackoverflow.com/questions/13035731
复制相似问题