dede arclist ajax分页

前端之家收集整理的这篇文章主要介绍了dede arclist ajax分页前端之家小编觉得挺不错的,现在分享给大家,也给大家做个参考。


<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,'','');
myajax.SendGet2("/plus/arcmulti.PHP?mtype=0&pnum="+pagenum+'&tagid='+tagid);
myajax = new DedeAjax(taget_obj_page,'');
myajax.SendGet2("/plus/arcmulti.PHP?mtype=1&pnum="+pagenum+'&tagid='+tagid);
DedeXHTTP = null;
}
</script>


{dede:arclist tagid='index8' pagesize='6'}
           
         <li>
          <a href="[field:arcurl/]">
          <img src="[field:litpic/]">
           <div class="pressio">
            <h2>[field:title/]</h2>
           </div>
           <div class="narrate">
            <p>[field:description/]...</p>
           </div>
          <div class="xiangms"><p>浏览详情</p></div>
          </a>
         </li>
        
        {/dede:arclist} 
        
        
        </ul>
        </div>
		
        <div class="pagingnewdetail">
           {dede:arcpagelist tagid='index8' /}
        </div>



{dede:arclist tagid='index8' pagesize='6'}

{dede:arcpagelist tagid='index8' /}

猜你在找的Ajax相关文章