太阳不下山 发表于 2021-9-1 18:57:46

arclist的分页使用方法

<script language="javascript" type="text/javascript" src="{dede:global.cfg_cmsurl/}/include/dedeajax2.js"></script>
<script>
function multi(pagenum,tagid)
{
var taget_obj = document.getElementById(tagid);
var taget_obj_page = document.getElementById("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;
}
</script>
{dede:arclist tagid='index' pagesize='5'}
<li><b><a href="" style="color: #FF6633"></a></b></li>
<p class="my_tj_info">...</p>
{/dede:arclist}
{dede:arcpagelist tagid='index'/}


文档来源:网络转载 http://www.adminbuy.cn/dedecmsjc/6657.html
页: [1]
查看完整版本: arclist的分页使用方法