1.头部
<a href=""onclick="this.style.behavior='url(#default#homepage)';this.setHomePage('{dede:global.cfg_basehost/}');">设为首页</a>
<a href="javascript:window.external.AddFavorite('{dede:global.cfg_basehost/}','{dede:global.cfg_webname/}')">加入收藏</a>
2.导航条
Ø 一级导航条
<li><a href='{dede:global.cfg_cmsurl/}/'><span>主页</span></a></li>
{dede:channel type='top' row='10' currentstyle="<li class='hover'><a href='~typelink~' ~rel~><span>~typename~</span></a></li>"}<!--currentstyle 全部是单引号才起作用-->
<li><a href='[field:typeurl/]' [field:rel/]><span>[field:typename/]</span></a></li>
{/dede:channel}
Ø 二级导航条
<li><a href='{dede:global.cfg_cmsurl/}/'><span>主页</span></a></li>
{dede:channelartlist row=6}
<li><a href='{dede:field.typeurl/}'>{dede:field.typename/}</a>
<ul>
{dede:channel type='top' row='10' currentstyle="<li class='hover'><a href='~typelink~'><span>~typename~</span></a></li>"}