DEDECMS5.7 5.6下拉导航,测试成功,完美兼容各大浏览器。
一级导航HTML代码(代码格式按照下面的,一定不能变):
主页< /span> [field:typename/]
{dede:channel type=’top’ row=’8′ currentstyle=”
”}
{/dede:channel}
二级导航html代码,一般放在模板文件footer.htm中:
{dede:channelartlist typeid=’top’ row=’8′ cacheid=’channelsonlist’}
{/dede:channelartlist}
其中的dropdown.js是在各版本的根目录images中的js文件夹中有。
至于css怎么 写,你就自己看着办了。
评论列表()