|
发表于 2010-7-4 21:25:04
|
显示全部楼层
- <div class="pageContainer">
- <div class="pager"> <span class="nextprev" id="pageprev"><<上一页</span> <span class="current">1</span> <a href="http://fashion.ifeng.com/beauty/makeup/detail_2010_06/12/1617310_1.shtml">2</a> <a href="http://fashion.ifeng.com/beauty/makeup/detail_2010_06/12/1617310_2.shtml">3</a> <span id="pagecontent">...</span> <a href="http://fashion.ifeng.com/beauty/makeup/detail_2010_06/12/1617310_8.shtml">9</a> <a href="http://fashion.ifeng.com/beauty/makeup/detail_2010_06/12/1617310_9.shtml">10</a> [b]<a href="http://fashion.ifeng.com/beauty/makeup/detail_2010_06/12/1617310_1.shtml" class="nextprev" id="pageprev">[/b]下一页>></a> </div>
- </div>
复制代码 截取上页下页地址时,把分页区域限定在下一页即可,不要把区域扩大,否则,页码混乱
1617310_9.shtml">10</a> <a href="[参数]" class="nextprev" id="pageprev">下一页 |
|