Discuz!官方免费开源建站系统

 找回密码
 立即注册

QQ登录

只需一步,快速开始

搜索

[发布] 八通频道导航 怎么加到自己网站?

[复制链接]
chg1566 发表于 2012-9-9 18:43:36 | 显示全部楼层 |阅读模式
5微币
本帖最后由 chg1566 于 2012-9-10 14:15 编辑


http://bbs.yalegu.com/ 看看这站吧
八通频道导航 怎么加到自己网站?


http://bbs.bato.cn/forum-201-1.html

谁知道这个怎么加的!~
这是模板代码
  1. <blockquote><span class="Apple-tab-span" style="white-space: pre; ">        </span><!--{subtemplate common/header_mh}-->
复制代码
这是频道里找的代码

  1. *{ margin:0px; padding:0px;}

  2. body{font-family:"宋体","Arial Narrow"; font-size:12px; color:#333;        margin:0;padding:0;}

  3. ul,ol,li,dl{ margin:0px; padding:0px; list-style:none}
  4. .clear{ clear:both;}

  5. img{ border:none;}

  6. a{ text-decoration:none; color:#333;}

  7. a:hover{ text-decoration:underline; color:#cc0100}

  8. #container{ margin:0 auto; width:1000px;}

  9. .qc_con{ float:left; width:100%; border-top:3px solid #a09896; border-left:1px solid #e6e2e1;border-bottom:1px solid #e6e2e1;border-right:1px solid #e6e2e1}

  10. .qc_con_left{ float:left; width:285px;margin-top:15px; margin-left:15px; display:inline}

  11. .qc_con_con{ float:left; width:376px; padding:0 20px; background:url(../images/huawen.gif) no-repeat right top}

  12. .qc_con_right{ float:right; width:281px; height:560px; border:1px solid #e6e2e1;overflow:hidden; border-right:none;border-bottom:none; background:#f2f2f0 url(../images/riji.gif) no-repeat}

  13. .qc_jiaodian{ float:left; width:285px; height:294px;}

  14. .qc_hd{ float:left; width:285px; margin-top:10px;}

  15. .qc_hd_title{ float:left;}

  16. #footer{ float:left; width:1000px; border-top:1px solid #ccc; margin-top:20px; padding-top:10px; padding-bottom:5px; }

  17. .lianjie{position:relative; width:1000px; line-height:25px;color:#666; text-align:center}

  18. .lianjie a{ padding-left:8px; padding-right:8px; color:#666}

  19. .ms_right_2{ float:left; width:285px;padding:12px 0px; border-bottom:1px dotted #ccc; display:inline}

  20. .ms_01{ float:left; width:108px; border:1px solid #ccc}

  21. .ms_01 img{ width:108px; height:72px;}

  22. .ms_right_2 dl{ float:right; width:160px; }

  23. .ms_right_2 dl dt a{ font-size:14px; font-weight:bold}

  24. .ms_right_2 dl dd{ color:#999; line-height:20px}

  25. .ms_right_2 dl dd a{ color:#cc0100}

  26. .hotPic{width:285px;height:294px;float:left;}
  27. .newInfor h4{font-weight:700;overflow:hidden;color:#666;padding:0 0 0 10px;margin-bottom:10px;}
  28. .newflash{width:285px;height:294px;overflow:hidden;}
  29. .flashimg img{width:285px; height:294px; }
  30. .flashimg p a{color:#fff;font-weight:700;text-shadow:1px 1px 0px #333;}
  31. .flashimg p{overflow:hidden;width:308px;bottom:4px;position:absolute;text-indent:12px;z-index:2;left:0;}
  32. .flashBg{ position:absolute;bottom:0;width:100%;height:27px;background:#000;filter:alpha(opacity=40);-moz-opacity:0.4;opacity:0.4; z-index:1;}
  33. .an{ position:absolute;right:5px;z-index:2;bottom:5px;}
  34. .an li{float:left;margin-left:5px;}
  35. .an li a{float:left;background:#fff;color:#333;overflow:hidden; text-decoration:none; line-height:16px;padding:0 5px;-webkit-transition: all 0.2s ease-out;-o-transition: all 0.2s ease-out;}
  36. .an li.current a,.an li a:hover{background:#333; border:1px solid #333; font-weight:bold;color:#fff; text-decoration:none;}
  37. .an li a:hover{-webkit-transform: scale(1.4);-o-transform: scale(1.4);}

  38. .pr{position:relative}



  39. .qc01{ float:left; width:100%; padding-bottom:10px; padding-top:10px; border-bottom:1px dotted #ccc}

  40. .qc01 dt{ float:left; width:100%; text-align:center; line-height:24px;padding-bottom:5px ;font-size:20px; font-weight:bold; color:#7D5447;font-family:"Microsoft Yahei";}

  41. .qc01 dd{ line-height:20px; color:#666}
  42. .qc01 a:hover dt,.qc01 a:hover dd,.qc01 a:hover{ color:#a77160; text-decoration:underline}

  43. .qc_zj{ padding-top:10px}

  44. .qc_zj,.qc_zj dl{ float:left; width:100%}

  45. .qc_zj dl dt{ float:left; line-height:25px;color:#999; background:url(../images/dian.gif) no-repeat left center; text-indent:10px; }

  46. .qc_zj dl dt a{ font-size:14px; color:#26437f}


  47. .qc_zj dl dd{float:right; line-height:24px;}

  48. .qc_zj dl dd a{ color:#666}

  49. .ri{ float:left; width:251px;padding:10px 0; margin-left:15px; display:inline; border-top:1px dotted #ccc; display:inline}

  50. .ji{ float:left; width:104px; padding:3px; border:1px solid #b5adab; background:#fff}

  51. .ji img{ width:104px; height:68px;}

  52. .ri dl{ float:right; width:130px; }

  53. .ri dl dt a{ font-size:14px; font-weight:bold; color:#ff6302}

  54. .ri dl dd{ color:#999; line-height:20px}

  55. .ri dl dd a{ color:#b79855}

  56. .riji{ float:left;padding-top:10px; }

  57. .lagg{ float:left; width:100%; padding-top:18px;}

  58. .lagg a{ float:left; width:76px; height:21px; margin-left:15px; display:inline; }

  59. .tonglan{ float:left; width:992px; border:1px solid #cdbfa5; margin-top:10px; padding:3px 3px 0px 3px;}

  60. .tl01{ float:left; width:992px; height:28px;background:url(../images/tonglan.gif) no-repeat}

  61. .tl02{ float:left; padding-left:20px; padding-top:6px}

  62. .more{ float:right; padding-right:15px; line-height:28px}

  63. .more a{ color:#fd6300}

  64. .tgh{ float:left; width:300px; padding-left:14px; height:242px;; padding-top:15px; border-right:1px solid #ccc}

  65. .tgh_img{ width:272px; height:190px; padding:4px; overflow:hidden;border:1px solid #bfbdbe}

  66. .tgh_img img{width:272px; height:190px;}

  67. .cs{ position:relative; width:100%}

  68. .fd{ position:absolute;width:272px; height:20px; background:#000;filter:alpha(opacity=30);-moz-opacity:0.3;opacity:0.3;top:-25px; left:5px }

  69. .ge{ position:absolute;width:272px; height:20px;line-height:20px; top:-25px; left:5px; color:#fff; text-align:center;}

  70. .hong{ position:relative; width:100%}

  71. .hongse{ position:absolute;top:-200px; width:34px; height:36px;background:url(../images/hong.png) }

  72. .anniu{ float:left; width:100%}

  73. .anniu li{ float:left;font-family:"Microsoft Yahei"; margin-top:8px; margin-left:5px; margin-right:5px; display:inline; line-height:20px;}

  74. .anniu li a{ font-weight:bold; color:#fff; }

  75. .anniu li a:hover{ color:#fff}

  76. .anniu li.sw01{ width:68px; height:20px; text-align:center;background:url(../images/sw01.gif) repeat-x}

  77. .anniu li.sw02{ width:68px; height:20px;text-align:center;background:url(../images/sw02.gif) repeat-x}

  78. .ws{ float:left; width:660px; padding-top:20px; }

  79. .ws01{ float:left; padding-left:20px;}

  80. .ws02{ float:right;}

  81. .nr{ float:left; width:677px; }

  82. .nr01{ float:left; width:310px;margin-left:20px; display:inline; margin-top:10px;}



  83. .nr02{ float:left; width:80px; padding:3px; border:1px solid #b4adac}

  84. .nr02 img{ width:80px; height:80px;}

  85. .nr01 dl{ float:right; width:210px; }

  86. .nr01 dl dt a{ font-size:14px; font-weight:bold; color:#df4102}

  87. .nr01 dl dd{ color:#999; line-height:20px; padding-top:5px;}

  88. .nr01 dl dd a{ color:#b99854}

  89. .paihang{float:left; width:250px; margin-left:25px; display:inline}

  90. .ph{ float:left; width:100%; padding-top:15px;}

  91. .ph01{float:right; width:250px; padding-top:5px; }

  92. .ph01 dt{ float:left; padding-top:6px;}

  93. .ph01 dd{ float:right; line-height:23px; width:225px}

  94. .ph01 dd a{ font-size:14px; color:#666}

  95. .ky{ float:left; width:248px; margin-left:10px; margin-top:15px; display:inline}

  96. .ky dt{ float:left; width:248px; height:30px; line-height:26px; background:url(../images/se.gif) no-repeat; text-align:center; margin-bottom:5px;}

  97. .ky dt a{ font-size:16px; letter-spacing:5px; font-weight:bold; font-family:"Microsoft Yahei"; color:#f2f2cf}

  98. .ky dt a:hover{ color:#dda46f; text-decoration:none;}

  99. .ky dd{ float:left; width:100%; line-height:25px; text-indent:15px; background:url(../images/fuhao.gif) no-repeat 5px center;}

  100. .ky dd a{ font-size:14px; color:#666}

  101. .siti{ float:left; padding-top:10px; padding-left:15px;}

  102. .siti li{ width:172px; height:30px; overflow:hidden; padding-top:3px;padding-bottom:3px;}

  103. .tu{ float:left; width:176px; margin-top:15px; margin-left:17px; display:inline;}

  104. .tu dt{ float:left; width:176px; height:132px; border:1px solid #ccc; overflow:hidden;}

  105. .tu dt img{ width:176px; height:132px;}

  106. .tu dd{ float:left; width:100%; line-height:24px; text-align:center}
复制代码
上面是CSS文件。

我想把这个导航放在DIY的静态模块里,添加html。。直接就可以使用。我的是官方模板
请大神们看看如何取代码

附件: 您需要 登录 才可以下载或查看,没有账号?立即注册
k58k 发表于 2012-9-9 20:07:05 | 显示全部楼层
同求代码,同时也欢迎大家来看看 http://bbs.ggbm.cn 贵港论坛
回复

使用道具 举报

爱站长吧 发表于 2012-9-9 21:31:38 | 显示全部楼层
代码很多
百姓城信息分类:http://www.bxcnt.com/
回复

使用道具 举报

陈清辉 发表于 2012-9-10 13:59:47 | 显示全部楼层
学学一下
回复

使用道具 举报

 楼主| chg1566 发表于 2012-9-10 14:14:52 | 显示全部楼层
晕来的都是学习的,没有会弄的!~~
http://bbs.yalegu.com/ 看看这站吧
回复

使用道具 举报

您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

手机版|小黑屋|Discuz! 官方站 ( 皖ICP备16010102号 )star

GMT+8, 2024-10-2 14:32 , Processed in 0.139803 second(s), 16 queries , Gzip On.

Powered by Discuz! X3.4

Copyright © 2001-2023, Tencent Cloud.

快速回复 返回顶部 返回列表