muban大师 发表于 2015-3-11 12:36:36

DEDECMS教程:如何制作下拉导航

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