checksucessful.aspx
上传用户:xuming1973
上传日期:2014-02-27
资源大小:17511k
文件大小:7k
源码类别:

WEB源码(ASP,PHP,...)

开发平台:

C#

  1. <%@ Page %>
  2. <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN" >
  3. <HTML>
  4. <HEAD>
  5. <TITLE></TITLE>
  6. <META NAME="GENERATOR" Content="Microsoft Visual Studio 7.0">
  7. </HEAD>
  8. <BODY leftMargin="0" topMargin="0">
  9. <script language="JavaScript">
  10. /*
  11. dCol='000000';//date colour.
  12. fCol='003399';//face colour.
  13. sCol='000000';//seconds colour.
  14. mCol='000000';//minutes colour.
  15. hCol='FF3333';//hours colour.
  16. ClockHeight=40;
  17. ClockWidth=40;
  18. ClockFromMouseY=200;
  19. ClockFromMouseX=100;
  20. //Alter nothing below! Alignments will be lost!
  21. d=new Array("SUNDAY","MONDAY","TUESDAY","WEDNESDAY","THURSDAY","FRIDAY","SATURDAY");
  22. m=new Array("JANUARY","FEBRUARY","MARCH","APRIL","MAY","JUNE","JULY","AUGUST","SEPTEMBER","OCTOBER","NOVEMBER","DECEMBER");
  23. date=new Date();
  24. day=date.getDate();
  25. year=date.getYear();
  26. if (year < 2000) year=year+1900;
  27. TodaysDate=" "+d[date.getDay()]+" "+day+" "+m[date.getMonth()]+" "+year;
  28. D=TodaysDate.split('');
  29. H='...';
  30. H=H.split('');
  31. M='....';
  32. M=M.split('');
  33. S='.....';
  34. S=S.split('');
  35. Face='1 2 3 4 5 6 7 8 9 10 11 12';
  36. font='Arial';
  37. size=1;
  38. speed=0.6;
  39. ns=(document.layers);
  40. ie=(document.all);
  41. Face=Face.split(' ');
  42. n=Face.length;
  43. a=size*10;
  44. ymouse=120;
  45. xmouse=320;
  46. scrll=0;
  47. props="<font face="+font+" size="+size+" color="+fCol+"><B>";
  48. props2="<font face="+font+" size="+size+" color="+dCol+"><B>";
  49. Split=360/n;
  50. Dsplit=360/D.length;
  51. HandHeight=ClockHeight/4.5
  52. HandWidth=ClockWidth/4.5
  53. HandY=-7;
  54. HandX=-2.5;
  55. scrll=0;
  56. step=0.06;
  57. currStep=0;
  58. y=new Array();x=new Array();Y=new Array();X=new Array();
  59. for (i=0; i < n; i++){y[i]=0;x[i]=0;Y[i]=0;X[i]=0}
  60. Dy=new Array();Dx=new Array();DY=new Array();DX=new Array();
  61. for (i=0; i < D.length; i++){Dy[i]=0;Dx[i]=0;DY[i]=0;DX[i]=0}
  62. if (ns){
  63. for (i=0; i < D.length; i++)
  64. document.write('<layer name="nsDate'+i+'" top=0 left=0 height='+a+' width='+a+'><center>'+props2+D[i]+'</font></center></layer>');
  65. for (i=0; i < n; i++)
  66. document.write('<layer name="nsFace'+i+'" top=0 left=0 height='+a+' width='+a+'><center>'+props+Face[i]+'</font></center></layer>');
  67. for (i=0; i < S.length; i++)
  68. document.write('<layer name=nsSeconds'+i+' top=0 left=0 width=15 height=15><font face=Arial size=3 color='+sCol+'><center><b>'+S[i]+'</b></center></font></layer>');
  69. for (i=0; i < M.length; i++)
  70. document.write('<layer name=nsMinutes'+i+' top=0 left=0 width=15 height=15><font face=Arial size=3 color='+mCol+'><center><b>'+M[i]+'</b></center></font></layer>');
  71. for (i=0; i < H.length; i++)
  72. document.write('<layer name=nsHours'+i+' top=0 left=0 width=15 height=15><font face=Arial size=3 color='+hCol+'><center><b>'+H[i]+'</b></center></font></layer>');
  73. }
  74. if (ie){
  75. document.write('<div id="Od" style="position:absolute;top:0px;left:0px"><div style="position:relative">');
  76. for (i=0; i < D.length; i++)
  77. document.write('<div id="ieDate" style="position:absolute;top:0px;left:0;height:'+a+';width:'+a+';text-align:center">'+props2+D[i]+'</B></font></div>');
  78. document.write('</div></div>');
  79. document.write('<div id="Of" style="position:absolute;top:0px;left:0px"><div style="position:relative">');
  80. for (i=0; i < n; i++)
  81. document.write('<div id="ieFace" style="position:absolute;top:0px;left:0;height:'+a+';width:'+a+';text-align:center">'+props+Face[i]+'</B></font></div>');
  82. document.write('</div></div>');
  83. document.write('<div id="Oh" style="position:absolute;top:0px;left:0px"><div style="position:relative">');
  84. for (i=0; i < H.length; i++)
  85. document.write('<div id="ieHours" style="position:absolute;width:16px;height:16px;font-family:Arial;font-size:16px;color:'+hCol+';text-align:center;font-weight:bold">'+H[i]+'</div>');
  86. document.write('</div></div>');
  87. document.write('<div id="Om" style="position:absolute;top:0px;left:0px"><div style="position:relative">');
  88. for (i=0; i < M.length; i++)
  89. document.write('<div id="ieMinutes" style="position:absolute;width:16px;height:16px;font-family:Arial;font-size:16px;color:'+mCol+';text-align:center;font-weight:bold">'+M[i]+'</div>');
  90. document.write('</div></div>')
  91. document.write('<div id="Os" style="position:absolute;top:0px;left:0px"><div style="position:relative">');
  92. for (i=0; i < S.length; i++)
  93. document.write('<div id="ieSeconds" style="position:absolute;width:16px;height:16px;font-family:Arial;font-size:16px;color:'+sCol+';text-align:center;font-weight:bold">'+S[i]+'</div>');
  94. document.write('</div></div>')
  95. }
  96. (ns)?window.captureEvents(Event.MOUSEMOVE):0;
  97. function Mouse(evnt){
  98. ymouse = (ns)?evnt.pageY+ClockFromMouseY-(window.pageYOffset):event.y+ClockFromMouseY;
  99. xmouse = (ns)?evnt.pageX+ClockFromMouseX:event.x+ClockFromMouseX;
  100. }
  101. (ns)?window.onMouseMove=Mouse:document.onmousemove=Mouse;
  102. function ClockAndAssign(){
  103. time = new Date ();
  104. secs = time.getSeconds();
  105. sec = -1.57 + Math.PI * secs/30;
  106. mins = time.getMinutes();
  107. min = -1.57 + Math.PI * mins/30;
  108. hr = time.getHours();
  109. hrs = -1.575 + Math.PI * hr/6+Math.PI*parseInt(time.getMinutes())/360;
  110. if (ie){
  111. Od.style.top=window.document.body.scrollTop;
  112. Of.style.top=window.document.body.scrollTop;
  113. Oh.style.top=window.document.body.scrollTop;
  114. Om.style.top=window.document.body.scrollTop;
  115. Os.style.top=window.document.body.scrollTop;
  116. }
  117. for (i=0; i < n; i++){
  118.  var F=(ns)?document.layers['nsFace'+i]:ieFace[i].style;
  119.  F.top=y[i] + ClockHeight*Math.sin(-1.0471 + i*Split*Math.PI/180)+scrll;
  120.  F.left=x[i] + ClockWidth*Math.cos(-1.0471 + i*Split*Math.PI/180);
  121.  }
  122. for (i=0; i < H.length; i++){
  123.  var HL=(ns)?document.layers['nsHours'+i]:ieHours[i].style;
  124.  HL.top=y[i]+HandY+(i*HandHeight)*Math.sin(hrs)+scrll;
  125.  HL.left=x[i]+HandX+(i*HandWidth)*Math.cos(hrs);
  126.  }
  127. for (i=0; i < M.length; i++){
  128.  var ML=(ns)?document.layers['nsMinutes'+i]:ieMinutes[i].style;
  129.  ML.top=y[i]+HandY+(i*HandHeight)*Math.sin(min)+scrll;
  130.  ML.left=x[i]+HandX+(i*HandWidth)*Math.cos(min);
  131.  }
  132. for (i=0; i < S.length; i++){
  133.  var SL=(ns)?document.layers['nsSeconds'+i]:ieSeconds[i].style;
  134.  SL.top=y[i]+HandY+(i*HandHeight)*Math.sin(sec)+scrll;
  135.  SL.left=x[i]+HandX+(i*HandWidth)*Math.cos(sec);
  136.  }
  137. for (i=0; i < D.length; i++){
  138.  var DL=(ns)?document.layers['nsDate'+i]:ieDate[i].style;
  139.  DL.top=Dy[i] + ClockHeight*1.5*Math.sin(currStep+i*Dsplit*Math.PI/180)+scrll;
  140.  DL.left=Dx[i] + ClockWidth*1.5*Math.cos(currStep+i*Dsplit*Math.PI/180);
  141.  }
  142. currStep-=step;
  143. }
  144. function Delay(){
  145. scrll=(ns)?window.pageYOffset:0;
  146. Dy[0]=Math.round(DY[0]+=((ymouse)-DY[0])*speed);
  147. Dx[0]=Math.round(DX[0]+=((xmouse)-DX[0])*speed);
  148. for (i=1; i < D.length; i++){
  149. Dy[i]=Math.round(DY[i]+=(Dy[i-1]-DY[i])*speed);
  150. Dx[i]=Math.round(DX[i]+=(Dx[i-1]-DX[i])*speed);
  151. }
  152. y[0]=Math.round(Y[0]+=((ymouse)-Y[0])*speed);
  153. x[0]=Math.round(X[0]+=((xmouse)-X[0])*speed);
  154. for (i=1; i < n; i++){
  155. y[i]=Math.round(Y[i]+=(y[i-1]-Y[i])*speed);
  156. x[i]=Math.round(X[i]+=(x[i-1]-X[i])*speed);
  157. }
  158. ClockAndAssign();
  159. setTimeout('Delay()',20);
  160. */
  161. }
  162. if (ns||ie)window.onload=Delay;
  163. </script>
  164. <TABLE id="Table1" height="200" cellSpacing="0" cellPadding="0" width="400" border="0">
  165. <TR>
  166. <TD background="../..//Images/time.gif"></TD>
  167. </TR>
  168. </TABLE>
  169. </BODY>
  170. </HTML>