DedeCMS arclist的分页使用教程

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="[field:arcurl/]" style="color: #FF6633">[field:title/]</a></b></li>

<p class="my_tj_info">[field:info/]...</p>

{/dede:arclist}

{dede:arcpagelist tagid='index'/}

支付宝扫码打赏 微信扫码打赏

如果本文对你有帮助,欢迎打赏本站

喜欢 ()or分享
    匿名评论
  • 评论
人参与,条评论