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

[分享] 顶部超级美化代码


使用方法:论坛后台-全局-优化设置-其他头部信息(加入以下代码,把网址改成你自己的)
  1. <table borderColor="#7ebddd" cellSpacing="2" cellPadding="2" width="98%"bgColor="#7ebddd"

  2. border="1">

  3. <TBODY>

  4.   <tr>

  5.     <td><p align="center">

  6. <script>

  7. function getDate(){

  8. var d = new Date();

  9. var year = d.getYear();

  10. var month = d.getMonth()+1;

  11. var date = d.getDate();

  12. document.write(year+"年"+month+"月"+date+"日"); }

  13. function getTime(){

  14. var t=new Date();

  15. var hour=t.getHours();

  16. var minutie=t.getMinutes();

  17. var second=t.getSeconds();

  18. document.write(hour+"时" +minutie+"分") }

  19. getDate();

  20. getTime();

  21. </script>

  22.       |    <A href="http://www.dzcenter.net/"><font color="yellow">首页</font></A>

  23. |  <A href="http://dzcenter.net/forum.php?mod=forumdisplay&fid=2"><font color="black">免费论坛</font></A>

  24. |  <A href="http://dzcenter.net/forum.php?mod=forumdisplay&fid=37"><font color="black">插件服务</font></A>

  25. |  <A href="http://dzcenter.net/forum.php?mod=forumdisplay&fid=61/"><font color="black">FTP申请</font></A>

  26. |  <A href="http://dzcenter.net/forum.php?mod=forumdisplay&fid=38"><font color="black">问题求助</font></A>

  27. |  <A href="http://dzcenter.net/forum.php?mod=forumdisplay&fid=39"><font color=black">建站经验络</font></A>

  28. |  <A href="http://dzcenter.net/forum.php?mod=forumdisplay&fid=59"><font color="black">VIP申请</font></A>

  29. |  <A href="http://dzcenter.net/forum.php?mod=forumdisplay&fid=48"><font color="black">站点动态</font></A>

  30. |  <A href="#"><font color="black">设为首页</font></a>

  31. |  <A href="javascript:window.external.AddFavorite('http://dzcenter.nets','站长论坛

  32. ')"><font color="black">加入收藏</font></a>

  33. |</p>

  34. </font></a></td>

  35. </tr>

  36. </TBODY>

  37. </table>
複製代碼
本人使用的代码是有修改过的(觉得比较美)
  1. border="1">


  2. <TBODY>


  3.   <tr>

  4.     <td><p align="center">




  5.     |    <A href="http://www.dzcenter.net/"><font color="yellow">首页</font></A>

  6. |  <A href="http://dzcenter.net/forum.php?mod=forumdisplay&fid=2"><font color="black">免费论坛</font></A>

  7. |  <A href="http://dzcenter.net/forum.php?mod=forumdisplay&fid=37"><font color="black">插件服务</font></A>

  8. |  <A href="http://dzcenter.net/forum.php?mod=forumdisplay&fid=61/"><font color="black">FTP申请</font></A>

  9. |  <A href="http://dzcenter.net/forum.php?mod=forumdisplay&fid=38"><font color="black">问题求助</font></A>



  10. |  <A href="http://dzcenter.net/forum.php?mod=forumdisplay&fid=59"><font color="black">VIP申请</font></A>

  11. |  <A href="http://dzcenter.net/forum.php?mod=forumdisplay&fid=48"><font color="black">站点动态</font></A>

  12. |  <A onclick="this.style.behavior='url(#default#homepage)';this.setHomePage

  13. ('http://www.dzcenter.net');" href="#"><font color="black">设为首页</font></a>

  14. |  <A href="javascript:window.external.AddFavorite('http://dzcenter.nets','站长论坛

  15. ')"><font color="black">加入收藏</font></a>

  16. |</p>

  17. </font></a></td>

  18. </tr>

  19. </TBODY>

  20. </table>
複製代碼
更多代码请到Xclub!论坛

返回列表