Top.asp
上传用户:xxtaishan
上传日期:2022-01-02
资源大小:4063k
文件大小:2k
源码类别:

IP电话/视频会议

开发平台:

ASP/ASPX

  1. <link href="Images/style.css" rel="stylesheet" type="text/css">
  2. <table width="100%" height="25" border="1" align="center" cellpadding="2" cellspacing="0" bordercolorlight="#cccccc" bordercolordark="#ffffff">
  3.   <tr>
  4.     <td bgcolor="#e6e6e6"> <img src="Images/announce.gif" width="18" height="18" align="absmiddle"> 您好,今天是:
  5.       <script language=JavaScript>
  6.                     today=new Date();
  7.                     function initArray(){
  8.                     this.length=initArray.arguments.length
  9.                     for(var i=0;i<this.length;i++)
  10.                     this[i+1]=initArray.arguments[i]  }
  11.                     var d=new initArray(
  12.                     "星期日",
  13.                     "星期一",
  14.                     "星期二",
  15.                     "星期三",
  16.                     "星期四",
  17.                     "星期五",
  18.                     "星期六");
  19.                     document.write(
  20.                     today.getYear(),"年",
  21.                     today.getMonth()+1,"月",
  22.                     today.getDate(),"日 ",
  23.                     d[today.getDay()+1]); 
  24.       </script> 
  25.     现在时间:<span id="liveclock" style"=width: 109px; height: 15px"></span>
  26. <SCRIPT language=javascript>function www_mdrcw_com()
  27. {
  28. var Digital=new Date()
  29. var hours=Digital.getHours()
  30. var minutes=Digital.getMinutes()
  31. var seconds=Digital.getSeconds()
  32. if(minutes<=9)
  33. minutes="0"+minutes
  34. if(seconds<=9)
  35. seconds="0"+seconds
  36. myclock=""+hours+":"+minutes+":"+seconds+"</font>"
  37. if(document.layers){document.layers.liveclock.document.write(myclock)
  38. document.layers.liveclock.document.close()
  39. }else if(document.all)
  40. liveclock.innerHTML=myclock
  41. setTimeout("www_mdrcw_com()",1000)
  42. }
  43. www_mdrcw_com();
  44. //-->
  45.       </SCRIPT></td>
  46.   </tr>
  47. </table>