☆★㊣論壇俱樂部㊣★☆
Would you like to react to this message? Create an account in a few clicks or log in to continue.


♀方圍..定礎..結!!♂就讓你走進我的絕界裡頭吧!! 心境不夠平靜根本不能稱得上是術者!!@o@ ''還未成為成功的術者根本不可能進入黑芒的
 
首頁歡迎頁相冊Latest images搜尋會員註冊登入
搜尋
 
 

結果按:
 
Rechercher 進階搜尋
最新主題
» why is this forum still online
程式名稱 : 簡易動態數字時鐘 I_icon_minitime20/1/2020, 7:45 pm 由 失去x挽回

» (10/8)CSO透視外掛,TRE外掛 全測試可用
程式名稱 : 簡易動態數字時鐘 I_icon_minitime19/8/2013, 10:26 pm 由 wetorct11610

» cso nst website 介紹
程式名稱 : 簡易動態數字時鐘 I_icon_minitime11/9/2010, 5:53 pm 由 ☆卍滿天星卍"◇

» CSO系列-菲律賓警察事件
程式名稱 : 簡易動態數字時鐘 I_icon_minitime7/9/2010, 7:39 pm 由 ☆我係我★某人☆

» 遇上外掛(僵屍手持 CV-47 60R)
程式名稱 : 簡易動態數字時鐘 I_icon_minitime7/9/2010, 7:38 pm 由 ☆我係我★某人☆

» cso 武器(手槍)
程式名稱 : 簡易動態數字時鐘 I_icon_minitime7/9/2010, 7:33 pm 由 ☆卍滿天星卍"◇

» cso好笑小電影[當希特勒遇上CSO外掛]
程式名稱 : 簡易動態數字時鐘 I_icon_minitime5/9/2010, 8:26 pm 由 ☆卍滿天星卍"◇

» 打到34關敗北
程式名稱 : 簡易動態數字時鐘 I_icon_minitime5/9/2010, 8:21 pm 由 ☆卍滿天星卍"◇

» hahaha
程式名稱 : 簡易動態數字時鐘 I_icon_minitime5/9/2010, 8:19 pm 由 ☆卍滿天星卍"◇

導航
 歡迎頁
 首頁
 會員列表
 個人資料
 常見問題
 搜尋
版面
合作伙伴
免費論壇

免费论坛


 

 程式名稱 : 簡易動態數字時鐘

向下 
發表人內容
☆卍滿天星卍"◇
Admin
☆卍滿天星卍


文章數 : 170
注冊日期 : 2009-09-24
年齡 : 26

程式名稱 : 簡易動態數字時鐘 Empty
發表主題: 程式名稱 : 簡易動態數字時鐘   程式名稱 : 簡易動態數字時鐘 I_icon_minitime11/3/2010, 9:19 pm

步驟一 :
將以下程式碼複製 , 貼在網頁原始檔HTML<head> 與 </head> 之間 .
<script language="JavaScript">
<!--
var timerID = null
var timerRunning = false
function stopclock(){
if(timerRunning)
clearTimeout(timerID)
timerRunning = false
}
function startclock(){
stopclock()
showtime()
}
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
if (hours>=6 && hours<=12)
{timeValue += ("上午")}
if(hours>12 && hours<=18)
{timeValue += ("下午")}
if(hours>18 && hours <=24)
{timeValue +=("晚上")}
if(hours<6)
{timeValue += ("凌晨")}
document.clock.face.value = timeValue
timerID = setTimeout("showtime()",1000)
timerRunning = true
}
//-->
</script>



步驟二 :
將以下程式碼複製 , 貼在網頁原始檔HTML <body> 之內 .
onload="startclock();"



步驟三 :
將以下程式碼複製 , 貼在網頁原始檔HTML <body> 與 </body> 之間 .
<form name="clock" onsubmit="0">
<input type="text" size="9" name="face">
</form>



 
 
回頂端 向下
http://enjoytheworld.forum888.tw
 
程式名稱 : 簡易動態數字時鐘
回頂端 
1頁(共1頁)

這個論壇的權限:無法 在這個版面回復文章
☆★㊣論壇俱樂部㊣★☆ :: 俱樂部之城 I :: 程式分享俱樂部-
前往: