dedecms5.6arclist分页查询的应用,DEDEDMS版主伊雪第一次arclist分页查询的应用方法,我转贴回来了。
复制代码代码以下:
<scriptlanguage="javascript"type="text/javascript"src="{dede:global.cfg_cmsurl/}/include/dedeajax2.js"></script>
<script>
functionmulti(pagenum,tagid)
{
vartaget_obj=document.getElementById(tagid);
vartaget_obj_page=document.getElementById("page_"tagid);
myajax=newDedeAjax(taget_obj,false,false,'','','');
myajax.SendGet2("/plus/arcmulti.php?mtype=0&pnum="pagenum'&tagid='tagid);
myajax=newDedeAjax(taget_obj_page,false,false,'','','');
myajax.SendGet2("/plus/arcmulti.php?mtype=1&pnum="pagenum'&tagid='tagid);
DedeXHTTP=null;
}
</script>
{dede:arclisttagid='index'pagesize='5'}
<li><ahref="[field:arcurl/]"style="color:#FF6633">[field:title/]</a></li>
<pclass="superseo">ss="my_tj_info">[field:info/]...</p>
{/dede:arclist}
{dede:arcpagelisttagid='index'/}
欢迎分享,转载请注明来源:内存溢出
评论列表(0条)