1.在html </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>
2.arclist 调取列表信息
{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
>
在这里解释一下
tagid="mynews"使用系统标签,提高性能和生成生成速度