Discuz教程网

[代码修改] Discuz X1.5二级导航代码(仿徐州海云网)

[复制链接]
authicon dly 发表于 2011-4-30 16:50:51 | 显示全部楼层 |阅读模式
截图355.jpg

代码如下:

  1. <style type="text/css">
  2. .main {
  3. background: url( http://bbs.hyitc.com/ad/hyitc_101.gif) no-repeat;
  4. overflow: hidden;
  5. margin-bottom: -3px;
  6. }
  7. .navs {
  8. height: 50px;
  9. margin-bottom: 5px;
  10. overflow: hidden;
  11. padding-bottom: 0px;
  12. padding-left: 0px;
  13. padding-right: 0px;
  14. padding-top: 5px;
  15. }
  16. .navs li {
  17. float: left;
  18. height: 50px;
  19. text-align: left;
  20. width: 140px;
  21. }
  22. .navs1 {
  23. margin: 5px 10px 5px 60px;
  24. }
  25. .navs2 {
  26. margin: 5px 5px 5px 35px;
  27. }
  28. .navs3 {
  29. margin: 5px 5px 5px 40px;
  30. }
  31. .navs4 {
  32. margin: 5px 5px 5px 45px;
  33. }
  34. .navs5 {
  35. margin: 5px 5px 5px 45px;
  36. }
  37. .navs li a {
  38. display: block;
  39. float: left;
  40. height: 20px;
  41. line-height: 20px;
  42. width: 70px;
  43. }
  44. </style>

  45. <ul class="main">

  46. <li class="navs">

  47. <ul>

  48. <li class="navs1">


  49. <a title="冠名赞助" href="http://bbs.hyitc.com/thread-257-1-1.html" style="color:#5b5b5b" target="_blank">冠名赞助</a>

  50. <a title="冠名赞助" href="http://bbs.hyitc.com/thread-257-1-1.html" style="color:#5b5b5b" target="_blank">冠名赞助</a>

  51. <a title="冠名赞助" href="http://bbs.hyitc.com/thread-257-1-1.html" style="color:#5b5b5b" target="_blank">冠名赞助</a>

  52. <a title="冠名赞助" href="http://bbs.hyitc.com/thread-257-1-1.html" style="color:#5b5b5b" target="_blank">冠名赞助</a> </li>


  53. <li class="navs2">


  54. <a title="冠名赞助" href="http://bbs.hyitc.com/thread-257-1-1.html" style="color:#5b5b5b" target="_blank">冠名赞助</a>

  55. <a title="冠名赞助" href="http://bbs.hyitc.com/thread-257-1-1.html" style="color:#5b5b5b" target="_blank">冠名赞助</a>

  56. <a title="冠名赞助" href="http://bbs.hyitc.com/thread-257-1-1.html" style="color:#5b5b5b" target="_blank">冠名赞助</a>

  57. <a title="冠名赞助" href="http://bbs.hyitc.com/thread-257-1-1.html" style="color:#5b5b5b" target="_blank">冠名赞助</a> </li>


  58. <li class="navs3">


  59. <a title="冠名赞助" href="http://bbs.hyitc.com/thread-257-1-1.html" style="color:#5b5b5b" target="_blank">冠名赞助</a>

  60. <a title="冠名赞助" href="http://bbs.hyitc.com/thread-257-1-1.html" style="color:#5b5b5b" target="_blank">冠名赞助</a>

  61. <a title="冠名赞助" href="http://bbs.hyitc.com/thread-257-1-1.html" style="color:#5b5b5b" target="_blank">冠名赞助</a>

  62. <a title="冠名赞助" href="http://bbs.hyitc.com/thread-257-1-1.html" style="color:#5b5b5b" target="_blank">冠名赞助</a> </li>


  63. <li class="navs4">


  64. <a title="冠名赞助" href="http://bbs.hyitc.com/thread-257-1-1.html" style="color:#5b5b5b" target="_blank">冠名赞助</a>

  65. <a title="冠名赞助" href="http://bbs.hyitc.com/thread-257-1-1.html" style="color:#5b5b5b" target="_blank">冠名赞助</a>

  66. <a title="冠名赞助" href="http://bbs.hyitc.com/thread-257-1-1.html" style="color:#5b5b5b" target="_blank">冠名赞助</a>

  67. <a title="冠名赞助" href="http://bbs.hyitc.com/thread-257-1-1.html" style="color:#5b5b5b" target="_blank">冠名赞助</a> </li>


  68. <li class="navs5">


  69. <a title="冠名赞助" href="http://bbs.hyitc.com/thread-257-1-1.html" style="color:#5b5b5b" target="_blank">冠名赞助</a>

  70. <a title="冠名赞助" href="http://bbs.hyitc.com/thread-257-1-1.html" style="color:#5b5b5b" target="_blank">冠名赞助</a>

  71. <a title="冠名赞助" href="http://bbs.hyitc.com/thread-257-1-1.html" style="color:#5b5b5b" target="_blank">冠名赞助</a>


  72. <a title="冠名赞助" href="http://bbs.hyitc.com/thread-257-1-1.html" style="color:#5b5b5b" target="_blank">冠名赞助</a>


  73. </li></ul></li>

  74. </ul>
  75. <div id="dzf" align="left" class="cl">
  76. <style type="text/css">
  77. #pp {zoom:1;}
  78. #dzf{margin-bottom: -10px;padding:15px 0;border: solid #CDCDCD;border-width: 0 1px 1px;background: #F9F9F9;line-height:160%}
  79. #dzf p{width:300px;text-indent:70px;background:url(images/longing.jpg) no-repeat 10px 2px}
  80. .dzfbl{border-left:1px solid #FFF}
  81. .dzfbr{border-right:1px solid #DDD}
  82. #dzf em{display:block;color:#D3DFDF}
  83. #dzf .xg2{color:#666}
  84. #dzf em a{color:#369}
  85. </style>
  86. <p class="z dzfbr" style="background:url(images/long.jpg) no-repeat 15px 6px;">
  87. <a href="http://bbs.hyitc.com/thread-14-1-1.html" class="xw1">海云社区<font color=red>首届电脑数码促销!</font>实时更新</a>
  88. <em class="xg2">通过这个窗口,关注跟踪我们活动的进展</em>
  89. <em><a href="http://bbs.hyitc.com/thread-127-1-1.html" target="_blank">线上团购</a> — <a href="http://bbs.hyitc.com/forum-105-1.html" target="_blank">活动产品展示</a></em>
  90. </p>
  91. <p class="z dzfbr" style="background:url(images/longing.jpg) no-repeat 15px 6px;">
  92. <a href="http://bbs.hyitc.com" target="_blank" class="xw1">海云社区试运行</a>
  93. <em class="xg2">给商家和用户提供一个活动平台</em>
  94. <em><a href="http://bbs.hyitc.com/forum.php?gid=1" target="_blank">发布</a> — <a href="http://bbs.hyitc.com/forum-66-1.html" target="_blank">认证</a> — <a href="http://bbs.hyitc.com/forum-63-1.html" target="_blank">渠道</a> — <a href="http://bbs.hyitc.com/forum-43-1.html" target="_blank">促销</a> — <a href="http://bbs.hyitc.com/" target="_blank">团购</a></em>
  95. </p>
  96. <p class="z dzfbl" style="text-indent:15px;background:none">
  97. <em><a href="http://bbs.hyitc.com" target="_blank">广告位置编辑</a> — <a href="http://bbs.hyitc.com" target="_blank">广告位置编辑</a> — <a href="http://bbs.hyitc.com" target="_blank">广告位置编辑</a></em>
  98. <em><a href="http://bbs.hyitc.com" target="_blank">广告位置编辑</a> — <a href="http://bbs.hyitc.com" target="_blank">广告位置编辑</a> — <a href="http://bbs.hyitc.com" target="_blank">广告位置编辑</a></em>
  99. <em><a href="http://bbs.hyitc.com" target="_blank">广告位置编辑</a> — <a href="http://bbs.hyitc.com" target="_blank">广告位置编辑</a> — <a href="http://bbs.hyitc.com" target="_blank">广告位置编辑</a></em>
  100. </p>
  101. </div>
复制代码

使用方法:
拷贝上面的代码。进入论坛后台--扩展--站点广告--添加一个 全局 页头二级导航栏广告 就可以了

演示地址:http://bbs.hyitc.com





上一篇:Discuz X1.5 暗恋插件
下一篇:Discuz X1.5大秀场、广播台插件
authicon 蓝色天空k 发表于 2011-5-6 17:10:02 | 显示全部楼层
看看  好像不错
authicon 馥郁渊汀 发表于 2011-5-6 17:15:47 | 显示全部楼层
这个要顶起来啊
authicon qqoxygen 发表于 2011-5-6 17:18:32 | 显示全部楼层
看看  好像不错
authicon rin421 发表于 2011-5-6 17:29:37 | 显示全部楼层
顶的就是你
authicon TRACYFLYING 发表于 2011-5-6 17:37:08 | 显示全部楼层
这个贴不错!!!
authicon 福倒菜菜子 发表于 2011-5-6 17:38:21 | 显示全部楼层
顶的就是你
authicon 卡卡猫 发表于 2011-5-6 17:38:23 | 显示全部楼层
强人,佩服死了。
authicon 82xiaochong911 发表于 2011-5-6 17:39:08 | 显示全部楼层
很好 很强大。。谢谢分享
authicon cutiemimi 发表于 2011-5-6 17:39:26 | 显示全部楼层
回贴下载呀
您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

1314学习网 ( 浙ICP备10214163号 )

GMT+8, 2024-11-1 07:52

Powered by Discuz! X3.4

© 2001-2013 Comsenz Inc.

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