1.首先在default的footer.html文件中的头部加上这段代码
<!– //二级子类下拉菜单,考虑SEO原因放置于底部 –><script type=’text/javascript’ src='{dede:global.cfg_cmsurl/}/images/js/dropdown.js’></script>{dede:channelartlist typeid=’top’ cacheid=’channelsonlist’}<ul id="dropmenu{dede:field.typeid/}" class="dropMenu">{dede:channel type=’son’ noself=’yes’} <li><a href="[field:typelink/]">[field:typename/]</a></li>{/dede:channel}</ul>{/dede:channelartlist}<script type="text/javascript">cssdropdown.startchrome("navMenu")</script>
2.再在head.html中显示导航栏那块加上这段代码(好像不用加这一点就行)<UL>{dede:arclist row=’6′ titlelen=’18’ orderby=’id’ col=’2′}<li><a href="[field:arcurl/]" class="title">[field:title/]</a></li>
不要做刺猬能不与人结仇就不与人结仇,