首页 > 建站‧营销

pbootcms导航调用代码分享


<ul>
<liclass=""><ahref="/">首页</a></li>
{pboot:navnum=7parent=0}
<liclass="">
{pboot:if([nav:soncount]>0)}<ahref="javascript:;"><span>[nav:name]</span></a>
{else}
<ahref="[nav:link]"target="_blank"><span>[nav:name]</span></a>
{/pboot:if}
<ulclass="sub-menu-ul">
{pboot:if([nav:soncount]>0)}{pboot:2navparent=[nav:scode]}
<li><ahref="[2nav:link]">[2nav:name]</a></li>
{/pboot:2nav}
{/pboot:if}
</ul>
</li>
{/pboot:nav}
</ul>

本文链接:https://zhanque.net/cms/4323.html