dedecm如何循环调用<ul>标签 5
请问这段dedecms代码怎么样才能让<ul>里面的内容循环几次啊,就像幻灯片那样,跳到下一页还是<ul>里的内容.<divclass="itme"><ul>{dede:...
请问这段dedecms代码怎么样才能让<ul>里面的内容循环几次啊,就像幻灯片那样,跳到下一页还是<ul>里的内容.
<div class="itme">
<ul>
{dede:arclist typeid=33 flag ='p' row=1 titlelen=40 orderby='click' infolen=60}
<li class="li1">
<a href="[field:arcurl/]"><img src="[field:big_pic/]" border='0' width='540' height='420' alt="[field:title/]"></a>
<div class="txt">
<h3><a href="[field:arcurl/]">[field:title/]</a></h3>
<p>[field:info/]...</p>
</div>
</li>
{/dede:arclist}
{dede:arclist typeid=33 row=1 titlelen=20 orderby='pubdate' flag ='p' }
<li class="li2">
<a href="[field:arcurl/]"><img src="[field:big_pic/]" border='0' width='400' height='230' alt="[field:title/]"></a>
<div class="txt">
<h3><a href="[field:arcurl/]">[field:title/]</a></h3>
</div>
</li>
{/dede:arclist}
{dede:arclist typeid=6 row=2 titlelen=20 orderby='ran' flag ='p' }
<li class="li3" >
<a href="[field:arcurl/]"><img src="[field:litpic/]" border='0' width='190' height='180' alt="[field:title/]"></a>
<div class="txt">
<h3><a href="[field:arcurl/]">[field:title/]</a></h3>
</div>
</li>
{/dede:arclist}
</ul>
</div> 展开
<div class="itme">
<ul>
{dede:arclist typeid=33 flag ='p' row=1 titlelen=40 orderby='click' infolen=60}
<li class="li1">
<a href="[field:arcurl/]"><img src="[field:big_pic/]" border='0' width='540' height='420' alt="[field:title/]"></a>
<div class="txt">
<h3><a href="[field:arcurl/]">[field:title/]</a></h3>
<p>[field:info/]...</p>
</div>
</li>
{/dede:arclist}
{dede:arclist typeid=33 row=1 titlelen=20 orderby='pubdate' flag ='p' }
<li class="li2">
<a href="[field:arcurl/]"><img src="[field:big_pic/]" border='0' width='400' height='230' alt="[field:title/]"></a>
<div class="txt">
<h3><a href="[field:arcurl/]">[field:title/]</a></h3>
</div>
</li>
{/dede:arclist}
{dede:arclist typeid=6 row=2 titlelen=20 orderby='ran' flag ='p' }
<li class="li3" >
<a href="[field:arcurl/]"><img src="[field:litpic/]" border='0' width='190' height='180' alt="[field:title/]"></a>
<div class="txt">
<h3><a href="[field:arcurl/]">[field:title/]</a></h3>
</div>
</li>
{/dede:arclist}
</ul>
</div> 展开
1个回答
推荐律师服务:
若未解决您的问题,请您详细描述您的问题,通过百度律临进行免费专业咨询