한국어
<!-- http://js.downcodes.com/ --> <!-- http://bbs.downcodes.com/--> 将下面代码加入到你网页的<head></head>标签中..... <script 언어=javaScript> function clockon() { thistime= new Date() var hour=thistime.getHours() var Minute=thistime.getMinutes() var second=thistime.getSeconds() if (eval (시간) <10) {시간="0"+시간} if (eval(분) < 10) {분="0"+분} if (초 < 10) {seconds="0"+초} thistime = 시간+":"+분+":"+초 if(document.all) { bgclocknoshade.innerHTML=이번 bgclockshade.innerHTML=이번 } if(document.layers) { document.bgclockshade.document.write('<div id=" bgclockshade" style="position:absolute;visibility:visible;font-family:Verdana;color:FFAAAAA;font-size:120px;top:10px;left:152px">'+thistime+'</div>') 문서. bgclocknoshade.document.write('<div id="bgclocknoshade" style="position:absolute;visibility:visible;font-family:Verdana;color:DDDDDD;font-size:120px;top:10px;left:150px"> '+thistime+'</div>') document.close() } var 타이머=setTimeout("clockon()",200) } file://--> </script> <link rel="stylesheet" href= "/images/style.css"> 然后把<body>改为<body onLoad="clockon()"> 最后将下面代码加入到你网页的适当位置即可.... <div id="bgclockshade" style="position:absolute;visibility:visible;font-family:Arial;color:FF8888;font-size:120px;top:102px;left:152px"></div> <div id="bgclocknoshade" style=" 위치:absolute;visibility:visible;font-family:Arial;color:DDDDDD;font-size:120px;top:100px;left:150px"></div> <div id="mainbody" style="position:absolute ; 가시성:표시"> </div>