织梦文章分页标题调用分页副标题怎么调用?
发布网友
发布时间:2022-04-24 12:10
我来回答
共1个回答
热心网友
时间:2022-04-24 13:40
{dede:arclist typeid="1" tagid='mynews' pagesize='30' row='10000'}
[field:typelink/] [field:textlink/] [field:pubdate function=MyDate('m-d',@me)/]
{/dede:arclist}
<div class="dede_pages">
<ul class="pagelist">
{dede:arcpagelist tagid='mynews'/}
</ul>
</div>
在</head>之前加以下js代码
<script type="text/javascript" src="{dede:global.cfg_cmsurl/}/include/dedeajax2.js"></script>
<script language="javascript" type="text/javascript">
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>