?? time.js
字號:
function showtime(){
var now=new Date()
var hours=now.getHours()
var minutes=now.getMinutes()
var seconds=now.getSeconds()
var timeValue=""+((hours>12)?hours-12:hours)
timeValue +=((minutes<10)?":0":":")+minutes
timeValue +=((seconds<10)?":0":":")+seconds
timeValue +=(hours>=12)?"下午":"上午"
//document.kemoon.face2.value="現在時間"+timeValue
document.all("thename").innerText=timeValue
setTimeout("showtime()",1000)
}
?? 快捷鍵說明
復制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號
Ctrl + =
減小字號
Ctrl + -