篮球比分网即时比分:八種風格的時間日期代碼

篮球比分网雷速体育 www.kjdpo.com.cn 腳本說明:
第一步:把如下代碼加入<head>區域中
<SCRIPT language=javascript author=luxiaoqing><!--
function initArray(){for(i=0;i<initArray.arguments.length;i++)
this[i]=initArray.arguments[i];}var isnMonths=new initArray("1月","2月","3月","4月","5月","6月","7月","8月","9月","10月","11月","12月");var isnDays=new initArray("星期日","星期一","星期二","星期三","星期四","星期五","星期六","星期日");today=new Date();hrs=today.getHours();min=today.getMinutes();sec=today.getSeconds();clckh=""+((hrs>12)?hrs-12:hrs);
clckm=((min<10)?"0":"")+min;clcks=((sec<10)?"0":"")+sec;clck=(hrs>=12)?"下午":"上午";var stnr="";var ns="0123456789";var a="";

//-->

</SCRIPT>
第二步:把如下代碼加入區域中
<SCRIPT language=javascript><!--
function getFullYear(d){//d is a date object
yr=d.getYear();if(yr<1000)
yr+=1900;return yr;}document.write("<table width=486>");//don't delete this line

/* 每一段代表一種風格,不需要的刪除即可*/

document.write("<TR><TD VALIGN=TOP><P>風格一<P></TD><TD VALIGN=TOP>"+isnDays[today.getDay()]
+","+isnMonths[today.getMonth()]+""+today.getDate()+"日,"
+getFullYear(today)+"年<P>");document.write("<TR><TD VALIGN=TOP>風格二<P></TD><TD VALIGN=TOP>"+clckh+":"+clckm
+":"+clcks+""+clck+"<P></TD></TR>");document.write("<TR><TD VALIGN=TOP>風格三<P></TD><TD VALIGN=TOP>"
+isnDays[today.getDay()]+","+isnMonths[today.getMonth()]+""
+today.getDate()+"日,"+getFullYear(today)+"年 "+clckh+":"+clckm+":"
+clcks+""+clck+"<P></TD></TR>");document.write("<TR><TD VALIGN=TOP>風格四<P></TD><TD VALIGN=TOP>"
+(today.getMonth()+1)+"/"+today.getDate()+"/"
+(getFullYear(today)+"").substring(2,4)+"<P></TD></TR>");document.write("<TR><TD VALIGN=TOP>風格五:<P></TD><TD VALIGN=TOP>"+hrs+":"+clckm+":"+clcks+"<P></TD></TR>");document.write("<TR><TD VALIGN=TOP>風格六:<P></TD><TD>"+today+"<P></TD></TR>");document.write("<TR><TD VALIGN=TOP>風格七<P></TD><TD>"+navigator.appName+"<P></TD></TR>");document.write("<TR><TD VALIGN=TOP>風格八:<P></TD><TD VALIGN=TOP>"+navigator.appVersion+"<P></TD></TR>");document.write("</table>"); // don't delete this line
//-->

</SCRIPT>
 

演示效果截圖



{ganrao} 04.02.22火箭vs老鹰 排球比分网即时比分188 新十一选五走势图 高手只炒一只股票19年钒价2019年为何大跌 1.8热火vs篮网视频 河北十一选五任五最 qq游戏陕西麻将外挂 爵士vs雄鹿竞彩201412 爱彩乐河北十一选五 双盈宝配资 nba即时赔率 棋牌麻将辅助器是真的么 汇丰鸿利配资 欢迎的av女优 全民麻将微信群 辽宁35选7中奖规则及金额