您好!导航条下面分类的商品,点击后可以出现对应的商品,请问怎么弄呢。
2个回答
展开全部
<div class="zlzxnvxxxk_left">
<ul id="menunvx1">
{dede:channelartlist typeid='4' type="son"}
<li class="[field:global name='itemindex' function=@me==1?'selectmenunvx1_ed':'selectmenunvx1';/]">
<a href="{dede:field name='typeurl'/}" target="_blank" title="">
{dede:field name='typename'/}</a>
</li>
{/dede:channelartlist}
</ul>
<ul id="shownvx1">
{dede:channelartlist typeid='4'}
<li class="{dede:global name='itemindex' function="@me==1?'showTab':'hidden';"/}">
<div class="nvxxxk_bz">
<div class="nvxxxk_bz1">
<b>
{dede:channel type='son' row='4'}
<a href="[field:typeurl/]" title="[field:typename/]">[field:typename/]</a>
{/dede:channel}
</b>
{dede:arclist row='1' titlelen='26' infolen='80' flag='p'}
<span><a href="[field:arcurl/]" target="_blank"><img src="[field:picname/]" width="135" height="93" alt="" /></a></span><strong><a href="[field:arcurl/]" target="_blank" title="[field:fulltitle/]">[field:title/]</a></strong><p>[field:infos/]...<a href="[field:arcurl/]" target="_blank">[详情]</a></p>
{/dede:arclist}
<ul>
{dede:arclist row='6' titlelen='40'}
<li><a href="[field:arcurl/]" title="[field:fulltitle/]">[field:title/]</a></li>
{/dede:arclist}
</ul>
</div>
</div>
</li>
{/dede:channelartlist}
</ul>
<script type="text/javascript">showTable("menunvx1","shownvx1","li"); </script>
</div>
这里面要有个切换js,这个不难,首先把头部的那几个栏目调出来,织梦的channelartlist标签可以解决,剩下的就调2级栏目喽,织梦的channel标签可以解决,在就是调带图片文章喽,这个调用标签里面不要写typeid默认是调当前栏目下的文章就行了,就是样式要对好
<ul id="menunvx1">
{dede:channelartlist typeid='4' type="son"}
<li class="[field:global name='itemindex' function=@me==1?'selectmenunvx1_ed':'selectmenunvx1';/]">
<a href="{dede:field name='typeurl'/}" target="_blank" title="">
{dede:field name='typename'/}</a>
</li>
{/dede:channelartlist}
</ul>
<ul id="shownvx1">
{dede:channelartlist typeid='4'}
<li class="{dede:global name='itemindex' function="@me==1?'showTab':'hidden';"/}">
<div class="nvxxxk_bz">
<div class="nvxxxk_bz1">
<b>
{dede:channel type='son' row='4'}
<a href="[field:typeurl/]" title="[field:typename/]">[field:typename/]</a>
{/dede:channel}
</b>
{dede:arclist row='1' titlelen='26' infolen='80' flag='p'}
<span><a href="[field:arcurl/]" target="_blank"><img src="[field:picname/]" width="135" height="93" alt="" /></a></span><strong><a href="[field:arcurl/]" target="_blank" title="[field:fulltitle/]">[field:title/]</a></strong><p>[field:infos/]...<a href="[field:arcurl/]" target="_blank">[详情]</a></p>
{/dede:arclist}
<ul>
{dede:arclist row='6' titlelen='40'}
<li><a href="[field:arcurl/]" title="[field:fulltitle/]">[field:title/]</a></li>
{/dede:arclist}
</ul>
</div>
</div>
</li>
{/dede:channelartlist}
</ul>
<script type="text/javascript">showTable("menunvx1","shownvx1","li"); </script>
</div>
这里面要有个切换js,这个不难,首先把头部的那几个栏目调出来,织梦的channelartlist标签可以解决,剩下的就调2级栏目喽,织梦的channel标签可以解决,在就是调带图片文章喽,这个调用标签里面不要写typeid默认是调当前栏目下的文章就行了,就是样式要对好
推荐律师服务:
若未解决您的问题,请您详细描述您的问题,通过百度律临进行免费专业咨询