免費論壇 繁體 | 簡體
Sclub交友聊天~加入聊天室當版主
分享
返回列表 發帖

[分享] [Dzwind!代码]一款简单的头部导航代码,测试可用。

本代码摘自菜鸟基地,为5D6D 7.0代码,经测试SCLUB可用,请大家放心使用

未命名.jpg

代码:
  1. <!-- 导航开始 -->
  2. <div style="background:#ffffff url(' http://daimaba.5d6d.com/userdirs/7/5/daimaba/attachments/day_100723/1007231214922bf35639bee851.gif') repeat-x 50% top;
  3. border-bottom : 2px solid #cccccc; FONT-SIZE: 12px; LINE-HEIGHT: 24px; HEIGHT: 24px;">
  4. <div style="margin-left:5px;float:left">
  5. <tr>
  6.     <td><p align="center">
  7. <font style="color:#000;"><script language=Javascript type=text/Javascript>
  8. var day="";
  9. var month="";
  10. var ampm="";
  11. var ampmhour="";
  12. var myweekday="";
  13. var year="";
  14. mydate=new Date();
  15. myweekday=mydate.getDay();
  16. mymonth=mydate.getMonth()+1;
  17. myday= mydate.getDate();
  18. myyear= mydate.getYear();
  19. year=(myyear > 200) ? myyear : 1900 + myyear;
  20. if(myweekday == 0)
  21. weekday=" 星期日 ";
  22. else if(myweekday == 1)
  23. weekday=" 星期一 ";
  24. else if(myweekday == 2)
  25. weekday=" 星期二 ";
  26. else if(myweekday == 3)
  27. weekday=" 星期三 ";
  28. else if(myweekday == 4)
  29. weekday=" 星期四 ";
  30. else if(myweekday == 5)
  31. weekday=" 星期五 ";
  32. else if(myweekday == 6)
  33. weekday=" 星期六 ";
  34. document.write(year+"年"+mymonth+"月"+myday+"日 "+weekday);
  35. </script></font>
  36. |  <A href=" http://xianjian2345.5d6d.com/task.php?hack=promodByDaimaba" target="_blank">
  37. <font color="#008080">宣传中心</font></a>
  38. |  <A href=" http://xianjian2345.5d6d.com/forum-99-1.html" target="_blank">
  39. <font color="#FF00FF">胡歌新闻</font></A><font color="#FF00FF"> </font>|  <A href=" http://xianjian2345.5d6d.com/forum-94-1.html?identifier=get_money&module=money" target="_blank"><font color="blue">影迷问问</A></font>
  40. |  <A href=" http://xianjian2345.5d6d.com/forum-95-1.html" target="_blank">
  41. <font color="#9900FF">影迷建议</font></A>
  42. |  <A href=" http://xianjian2345.5d6d.com/forum-125-1.html" target="_blank"><font color="#ffcc66"><b>胡椒投诉区</b></font></A>
  43. |  <A href=" http://xianjian2345.5d6d.com/thread-2223-1-1.html" target="_blank"><font color="red"><b>每日签到</b></A></font>
  44. </div>
  45. <div style="margin-left:5px;float:right;margin-right:5px;">
  46. <A href=" http://xianjian2345.5d6d.com/" ><font style="font-size:12px;">论坛首页
  47. </font></A>
  48. |  <A href=" http://xianjian2345.5d6d.com/registerbbs.php" target="_blank"><font
  49. color="red">注册</font></a>
  50. |  <A href=" http://xianjian2345.5d6d.com/logging.php?action=login"
  51. target="_blank"><font color="red">登录</font></a>
  52. |  <A onclick="this.style.behavior='url(#default#homepage)';this.setHomePage
  53. (' http://xianjian2345.5d6d.com/');" href="#"><font color="blue"><b>设为首页</b></font></a>
  54. |  <A href="javascript:window.external.AddFavorite(' http://xianjian2345.5d6d.com/','胡歌影迷公会')"><font color="blue"><b>加入收藏</b></font></a>
  55. |</div>
  56. </div>
  57. <!-- 导航结束 -->
複製代碼
更多代码请关注  Dzwind!官方站

謝謝分享呦!!{:12_538:}

TOP

{:7_257:} 尤溪

TOP

谢谢分享

TOP

请问在哪放代码···

TOP

回復 5# jddl


    头部

TOP

回復 6# Dzcode


    其他头部吗?

TOP

感謝分享~~

TOP

头部在哪?

TOP

回復 1# Dzcode


    我的做完怎么导航到了最下面那??请指教
http://zjm1118.xclub.tw/index.php

TOP

返回列表