ccloving 发表于 2007-1-30 11:05:58

看起来挺简单的,可就是采不到分页!!!(已解决!谢谢麦兜先生)

http://tech.ddvip.com/2006-04/11444662804496.html
就是这个啊。
分页代码:
第一页:
<div id="cntPL">[<a href="http://tech.ddvip.com/2006-04/11444662804496.html"><font color="#ff0000">1</font></a>][<a href="http://tech.ddvip.com/2006-04/11444662804496_2.html">2</a>][<a href="http://tech.ddvip.com/2006-04/11444662804496_3.html">3</a>][<a href="http://tech.ddvip.com/2006-04/11444662804496_4.html">4</a>][<a href="http://tech.ddvip.com/2006-04/11444662804496_2.html">下一页</a>]</div>

第二页:
<div id="cntPL">[<a href="http://tech.ddvip.com/2006-04/11444662804496.html">上一页</a>][<a href="http://tech.ddvip.com/2006-04/11444662804496.html">1</a>][<a href="http://tech.ddvip.com/2006-04/11444662804496_2.html"><font color="#ff0000">2</font></a>][<a href="http://tech.ddvip.com/2006-04/11444662804496_3.html">3</a>][<a href="http://tech.ddvip.com/2006-04/11444662804496_4.html">4</a>][<a href="http://tech.ddvip.com/2006-04/11444662804496_3.html">下一页</a>]</div>

第三页:

<div id="cntPL">[<a href="http://tech.ddvip.com/2006-04/11444662804496_2.html">上一页</a>][<a href="http://tech.ddvip.com/2006-04/11444662804496.html">1</a>][<a href="http://tech.ddvip.com/2006-04/11444662804496_2.html">2</a>][<a href="http://tech.ddvip.com/2006-04/11444662804496_3.html"><font color="#ff0000">3</font></a>][<a href="http://tech.ddvip.com/2006-04/11444662804496_4.html">4</a>][<a href="http://tech.ddvip.com/2006-04/11444662804496_4.html">下一页</a>]</div>

规则如下:
起始:<div id="cntPL">(*)</a>]
结束:</div>

[ 本帖最后由 ccloving 于 2007-1-31 11:09 编辑 ]

Qesy 发表于 2007-1-30 23:05:20

自己看下教程,这个不难

ccloving 发表于 2007-1-30 23:45:31

看过教程了.怎么写都不行。

起始<div id="cntPL">
结束:</div>

起始:<div id="cntPL">
结束:下一页</a>]</div>
页: [1]
查看完整版本: 看起来挺简单的,可就是采不到分页!!!(已解决!谢谢麦兜先生)