discuz x1.0二级导航的设置方法详解

方法一、 后台 - 界面 - 导航栏 - 首页、广场、等后面有个 二级导航 点进去设置即可。

方法二、 后台 - 扩展 - 广告 - 全局页头二级导航广告栏 - 添加 - 不同频道用不同的HTML就是了。。discuz.org 就是用的这种方法,大家可以参考,下面附上插入广告中的html代码

举例:

1、门户页

  1. <div id="mu">
  2. <ul class="cl"><li><a style="font-weight: bold; color: orange;" hidefocus="true" href="topic-news.html">资讯</a></li>
  3. <li><a hidefocus="true" href="portal.php?mod=list&catid=1">产品动态</a></li>
  4. <li><a hidefocus="true" href="portal.php?mod=list&catid=2">公司新闻</a></li>
  5. <li><a hidefocus="true" href="portal.php?mod=list&catid=3">产品服务</a></li>
  6. <li><a hidefocus="true" href="portal.php?mod=list&catid=4">业界动态</a></li>
  7. <li><a style="font-weight: bold; color: orange;" hidefocus="true" href="group.php">群组</a></li>
  8. <li><a hidefocus="true" href="group-162-1.html">X爱好者</a></li>
  9. <li><a hidefocus="true" href="group-76-1.html">孤男寡女</a></li>
  10. <li><a hidefocus="true" href="group-274-1.html">单身联盟</a></li>
  11. <li><a hidefocus="true" href="group-335-1.html">电子商务</a></li>
  12. <li><a hidefocus="true" href="group-735-1.html">美女俱乐部</a></li>
  13. <li><a style="font-weight: bold; color: orange;" hidefocus="true" href="forum.php">版块</a></li>
  14. <li><a hidefocus="true" href="forum-9-1.html">团队日志</a></li>
  15. <li><a hidefocus="true" href="forum-5-1.html">问题反馈</a></li>
  16. <li><a hidefocus="true" href="forum-130-1.html">界面问题</a></li>
  17. <li><a hidefocus="true" href="forum-7-1.html">建议反馈</a></li>
  18. <li><a style="font-weight: bold; color: orange;" hidefocus="true" href="forum.php">交流</a></li>
  19. <li><a hidefocus="true" href="forum-8-1.html">站长交流</a></li>
  20. <li><a hidefocus="true" href="forum-2-1.html">哥很寂寞</a></li>
  21. <li><a hidefocus="true" href="forum-10-1.html">内部交流</a></li>
  22. </ul>
  23. </div>

2、论坛页

  1. <div id="mu">
  2. <div><div class="cl" id="forumtop">
  3. <style type="text/css">
  4. #forumtop { padding: 15px 0; }
  5. #forumtop span { padding-left: 70px; width: 311px; w/idth: 241px; background: url() no-repeat 20px 2px; color: #999; }
  6. #forumtop a:hover { color: #06C; text-decoration: underline; }
  7. #forumtop a { color: #333; font-weight: 700; }
  8. #forumtop em { display: block; color: #666 }
  9. </style>
  10. <span style="border-right: 1px solid rgb(221, 221, 221); background-position: 20px -80px;" class="z">
  11. <a href="forum-5-1.html">问题反馈</a> | <a href="forum-130-1.html">界面问题</a> | <a href="forum-7-1.html">建议反馈</a>
  12. <em>请将您要反馈的问题发布到指定版块</em>
  13. </span>
  14. <span style="border-left: 1px solid rgb(255, 255, 255); border-right: 1px solid rgb(221, 221, 221);" class="z">
  15. <a href="forum-9-1.html">团队日志</a> | <a href="forum-8-1.html">站长交流</a> | <a href="forum-2-1.html">测试灌水</a><em>在此分类下了解和测试新产品的相关功能</em>
  16. </span>
  17. <span style="border-left: 1px solid rgb(255, 255, 255); background-position: 20px -160px;" class="z">
  18. <a href="forum.php?mod=viewthread&tid=18&from=indexheats">哪里用得不爽?</a>
  19. <em>在这里提出来,我们会及时发现并改进</em>
  20. </span>
  21. </div></div></div>

3、群组页

  1. <div id="mu">
  2. <div><div class="cl" id="grouptop">
  3. <style type="text/css">
  4. #grouptop { padding: 15px 0; }
  5. #grouptop a, #grouptop span { padding-left: 70px; width: 311px; w/idth: 241px; background: url() no-repeat 20px 2px; color: #666; }
  6. #grouptop a:hover { text-decoration: none; }
  7. #grouptop strong { display: block; color: #609; }
  8. #grouptop a:hover strong { color: #F60; }
  9. </style>
  10. <a style="border-right: 1px solid rgb(221, 221, 221);" class="z" href="forum.php?mod=group&action=create">
  11. <strong>创建群组</strong>
  12. 立刻创建自己感兴趣的群组,邀请好友加入
  13. </a>
  14. <a style="border-left: 1px solid rgb(255, 255, 255); border-right: 1px solid rgb(221, 221, 221); background-position: 20px -80px;" class="z" href="group.php">
  15. <strong>浏览群组</strong>
  16. 从分类中选择加入自己感兴趣的群组
  17. </a>
  18. <a style="border-left: 1px solid rgb(255, 255, 255); background-position: 20px -160px;" class="z" href="home.php?mod=space&do=group">
  19. <strong>我的群组</strong>
  20. 关注或管理自己创建的所有群组
  21. </a>
  22. </div></div></div>

4、家园页

  1. <div id="mu">
  2. <div><div class="cl" id="hometop">
  3. <style type="text/css">
  4. #hometop { padding: 15px 0; }
  5. #hometop a, #grouptop span { padding-left: 70px; width: 311px; w/idth: 241px; color: #999; }
  6. #hometop a:hover { text-decoration: none; }
  7. #hometop img { position: absolute; margin: 1px 0 0 -40px; }
  8. #hometop strong { display: block; color: #333; }
  9. #hometop a:hover strong { color: #06C; }
  10. #hometop cite { color: #06C; }
  11. </style>
  12. <a style="border-right: 1px solid rgb(221, 221, 221);" class="z" href="thread-147-1-1.html">
  13. <img height="32" width="32" alt="" src="http://uc.discuz.net/data/avatar/000/00/00/01_avatar_small.jpg"/>
  14. <strong>Discuz!X产品设计点滴分享(1)</strong>
  15. <cite>CrossDay</cite> <em>发表于 3月1日</em>
  16. </a>
  17. <a style="border-left: 1px solid rgb(255, 255, 255); border-right: 1px solid rgb(221, 221, 221); background-position: 20px -80px;" class="z" href="thread-143-1-1.html">
  18. <img height="32" width="32" alt="" src="http://www.discuz.org/uc_server/data/avatar/000/00/00/02_avatar_small.jpg"/>
  19. <strong>Discuz!X 测试版本功能重点</strong>
  20. <cite>童虎</cite> <em>发表于 3月1日</em>
  21. </a>
  22. <a style="border-left: 1px solid rgb(255, 255, 255); background-position: 20px -160px;" class="z" href="home.php?mod=space&uid=18&do=blog&id=6">
  23. <img height="32" width="32" alt="" src="http://www.discuz.org/uc_server/data/avatar/000/00/00/18_avatar_small.jpg"/>
  24. <strong>Discuz!X 改进亮点小提示</strong>
  25. <cite>Sup</cite> <em>发表于 3月1日</em>
  26. </a>
  27. </div></div></div>

来自(http://www.sddbbs.net/bbs/forum.php?mod=viewthread&tid=27003&extra=page%3D9

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值