文档内容

利用arcpagelist标签实现DedeCMS首页arclist分页

DedeCMS首页arclist分页可以利用arcpagelist标签来实现,这里说一下调用方法:

首先必须在首页的<head></head>标签里面引入如下js代码:

 

01 <script language="javascript" type="text/javascript" src="{dede:global.cfg_cmsurl/}/include/dedeajax2.js"></script>
02 <script>
03 function multi(pagenum,tagid)
04 {
05 var taget_obj = document.getElementById(tagid);
06 var taget_obj_page = document.getElementById("page_"+tagid);
07 myajax = new DedeAjax(taget_obj,false,false,'','','');
08 myajax.SendGet2("/plus/arcmulti.php?mtype=0&pnum="+pagenum+'&tagid='+tagid);
09 myajax = new DedeAjax(taget_obj_page,false,false,'','','');
10 myajax.SendGet2("/plus/arcmulti.php?mtype=1&pnum="+pagenum+'&tagid='+tagid);
分享:

相关文档: