插件名稱:隨你放那裡的會跳時間!
適用版本:2.5/SP1
最後更新日期:4/9
作 者:jimmyjimmyqqq
修 改:/
程式指導:jimmyjimmyqqq
數據升級:/
修改文件:/
修改模板:header.htm,footer.htm
新增文件:/
新增模板:/
安裝難度:★☆☆☆☆
演 示:
http://www.pcmscs.org/~lovebear/bbs/index.php
請看首頁的這個

+++++++++++++++++++++++++++++++++++
開始安裝
+++++++++++++++++++++++++++++++++++
隨你喜歡的放上下面這個Code:
- {lang timenow}:<span class="bold">
- <SCRIPT language="JavaScript">
- <!--
- document.write("<span id='clock'></span>");
- var now,hours,minutes,seconds,timeValue;
- function showtime(){
- now = new Date();
- hours = now.getHours();
- minutes = now.getMinutes();
- seconds = now.getSeconds();
- timeValue = (hours >= 12) ? "" : "";
- timeValue += ((hours > 12) ? hours : hours) + ":";
- timeValue += ((minutes < 10) ? "0" : "") + minutes + ":";
- timeValue += ((seconds < 10) ? "0" : "") + seconds + "";
- clock.innerHTML = timeValue;
- setTimeout("showtime()",100);
- }
- showtime();
- -->
- </SCRIPT>
- </span>
复制代码
謝謝大大支持! |