织梦DedeCMS模板页中实现arclist分页效果
1,头部必须引进 dede模板页中实arclist 分页效果
function multi(pagenum,tagid)
{
var taget_obj = document.getElementByIdx_x(tagid);
var taget_obj_page = document.getElementByIdx_x(“page_”+tagid);
myajax = new DedeAjax(taget_obj,false,false,”,”,”);
myajax.SendGet2(“/plus/arcmulti.php?mtype=0&pnum=”+pagenum+’&tagid=’+tagid);
myajax = new DedeAjax(taget_obj_page,false,false,”,”,”);
myajax.SendGet2(“/plus/arcmulti.php?mtype=1&pnum=”+pagenum+’&tagid=’+tagid);
DedeXHTTP = null;
}
2,
- [field:title/]
[field:description function=”cn_substr(@me,128)”/]… [详情]
{dede:arclist row=”100″ tagid=’lists’ order=’id desc’ pagesize=”18″ typeid=”132″ titlelen=”100″}
{/dede:arclist}
{dede:arcpagelist tagid=’lists’/}
(需要注意的是tagid和{dede:arcpagelist tagid=’lists’/} 必须保持一致,可以随意起名字,一个页面中不要有重复,row=””的条数要写多一点些少会显示到那么多就不会在显示了,不写好像不管用吧)