织梦教程:巧用sonchannel标签做三级菜单!(2)

div class="nav">
<div class="nav-l">
<a href=http://www.dede58.com/"/"><span class="nav-l-span">顶级菜单<i></i></span> </a>
<div class="nav-submenu">
<div id="submenu">
{dede:channelartlist typeid='72'}
<div class="submenu1">
<h3 class="submenu1-t1"><a href=http://www.dede58.com/"{dede:field name='typeurl'/}">{dede:field name='typename'/}</a></h3>
</div>
{/dede:channelartlist}
</div>
</div>

<div class="nav-submenu-xl">

{dede:channelartlist typeid='72'}

<div class="xl-menu" style="top:1px;display:none;">

<div class="xl-menu-l xl-menu-wc">
<div class="xl-menu-l-part">

{dede:channel type='son'}

<div id="xl-menu-l-div3">
<div class="xl-menu-l-div3-b">

<b> <a href=http://www.dede58.com/"[field:typelink/]">[field:typename/]</a></b>

</div>
<div class="xl-menu-l-div3-p">

<p>[field:sonchannel0] <a href=http://www.dede58.com/"[field:typelink/]">[field:typename/]</a> |[/field:sonchannel0] </p>
</div>

</div>
{/dede:channel}
</div>
</div>
</div>
{/dede:channelartlist}
</div>
</div>

注:这里顶级菜单我调用了两次,大家按照自己的需求来!

内容版权声明:除非注明,否则皆为本站原创文章。

转载注明出处:https://www.heiqu.com/b503cd1aae0418d461efbe1a4fb31154.html