- 積分
- 721
- 威望
- 721
- 金錢
- 394
- 最後登錄
- 2015-2-6
|
[分享] [Dzwind!代码]一款简单的头部导航代码,测试可用。
本代码摘自菜鸟基地,为5D6D 7.0代码,经测试SCLUB可用,请大家放心使用
代码:- <!-- 导航开始 -->
- <div style="background:#ffffff url(' http://daimaba.5d6d.com/userdirs/7/5/daimaba/attachments/day_100723/1007231214922bf35639bee851.gif') repeat-x 50% top;
- border-bottom : 2px solid #cccccc; FONT-SIZE: 12px; LINE-HEIGHT: 24px; HEIGHT: 24px;">
- <div style="margin-left:5px;float:left">
- <tr>
- <td><p align="center">
- <font style="color:#000;"><script language=Javascript type=text/Javascript>
- var day="";
- var month="";
- var ampm="";
- var ampmhour="";
- var myweekday="";
- var year="";
- mydate=new Date();
- myweekday=mydate.getDay();
- mymonth=mydate.getMonth()+1;
- myday= mydate.getDate();
- myyear= mydate.getYear();
- year=(myyear > 200) ? myyear : 1900 + myyear;
- if(myweekday == 0)
- weekday=" 星期日 ";
- else if(myweekday == 1)
- weekday=" 星期一 ";
- else if(myweekday == 2)
- weekday=" 星期二 ";
- else if(myweekday == 3)
- weekday=" 星期三 ";
- else if(myweekday == 4)
- weekday=" 星期四 ";
- else if(myweekday == 5)
- weekday=" 星期五 ";
- else if(myweekday == 6)
- weekday=" 星期六 ";
- document.write(year+"年"+mymonth+"月"+myday+"日 "+weekday);
- </script></font>
- | <A href=" http://xianjian2345.5d6d.com/task.php?hack=promodByDaimaba" target="_blank">
- <font color="#008080">宣传中心</font></a>
- | <A href=" http://xianjian2345.5d6d.com/forum-99-1.html" target="_blank">
- <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>
- | <A href=" http://xianjian2345.5d6d.com/forum-95-1.html" target="_blank">
- <font color="#9900FF">影迷建议</font></A>
- | <A href=" http://xianjian2345.5d6d.com/forum-125-1.html" target="_blank"><font color="#ffcc66"><b>胡椒投诉区</b></font></A>
- | <A href=" http://xianjian2345.5d6d.com/thread-2223-1-1.html" target="_blank"><font color="red"><b>每日签到</b></A></font>
- </div>
- <div style="margin-left:5px;float:right;margin-right:5px;">
- <A href=" http://xianjian2345.5d6d.com/" ><font style="font-size:12px;">论坛首页
- </font></A>
- | <A href=" http://xianjian2345.5d6d.com/registerbbs.php" target="_blank"><font
- color="red">注册</font></a>
- | <A href=" http://xianjian2345.5d6d.com/logging.php?action=login"
- target="_blank"><font color="red">登录</font></a>
- | <A onclick="this.style.behavior='url(#default#homepage)';this.setHomePage
- (' http://xianjian2345.5d6d.com/');" href="#"><font color="blue"><b>设为首页</b></font></a>
- | <A href="javascript:window.external.AddFavorite(' http://xianjian2345.5d6d.com/','胡歌影迷公会')"><font color="blue"><b>加入收藏</b></font></a>
- |</div>
- </div>
- <!-- 导航结束 -->
複製代碼 更多代码请关注 Dzwind!官方站 |
|