ScheduleNotice.aspx
上传用户:autodoor
上传日期:2022-08-04
资源大小:9973k
文件大小:3k
源码类别:

.net编程

开发平台:

Others

  1. <%@ Page language="c#" Codebehind="ScheduleNotice.aspx.cs" AutoEventWireup="false" Inherits="qminoa.Webs.Schedule.ScheduleNotice" codePage="936" %>
  2. <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN" >
  3. <HTML>
  4.   <HEAD>
  5. <title>MessageNotice</title>
  6. <meta name="GENERATOR" Content="Microsoft Visual Studio 7.0">
  7. <meta name="CODE_LANGUAGE" Content="C#">
  8. <meta name="vs_defaultClientScript" content="JavaScript">
  9. <meta name="vs_targetSchema" content="http://schemas.microsoft.com/intellisense/ie5">
  10. <META HTTP-EQUIV="Content-Type" Content="text/html; charset=gb2312">
  11.   </HEAD>
  12. <body MS_POSITIONING="GridLayout" onload="movePFW()">
  13. <form id="MessageNotice" method="post" runat="server">
  14. <table border=0 background="..images/mail_note.gif" height="100%" align=center>
  15. <tr><td>
  16. <IMG src="../img/button/schtime.gif"><asp:Label id="Label1" runat="server" ForeColor="#C04000" Font-Size="Larger" Font-Bold="True" EnableViewState="False">提  醒</asp:Label><hr>
  17. </td></tr>
  18. <tr><td>
  19. <asp:Label id="lblTitle" Runat="server" Font-Size=10></asp:Label>
  20. </td></tr><tr><td>
  21. <asp:Label id="lblTotal" Runat="server"  Font-Size=10 ForeColor=#3300cc></asp:Label>
  22. </td></tr><tr><td align=center>
  23. <BUTTON id="btnExit" onclick="javascript:void(0);window.close();" type="button" runat="server">退出</BUTTON>
  24. </td></tr></table>
  25. </form>
  26. <script language="javascript">
  27. window.resizeTo(220,210);
  28. var windowW=220  // wide
  29. var windowH=210  // high
  30. var Yoffset=0   // in pixels, negative values allowed
  31. var windowStep=2 // move increment (pixels)
  32. var moveSpeed=12 // move speed (larger is slower)
  33. Xoffset=25;
  34. var windowX = (screen.width/2)-(windowW/2);
  35. windowX=screen.availWidth-Xoffset-windowW;
  36. var windowY = (screen.availHeight);
  37. var windowYstop = windowY-windowH-Yoffset;
  38. var windowYnow = windowY;
  39. window.focus ();
  40. resizeTo(windowW,windowH);
  41. moveTo(windowX,windowY);
  42. function movePFW()
  43. {
  44. if (document.all)
  45. {
  46. if (windowYnow>=windowYstop){
  47. moveTo(windowX,windowYnow);
  48. windowYnow=windowYnow-windowStep;
  49. timer=setTimeout("movePFW()",moveSpeed);
  50. }
  51. else
  52. {
  53. clearTimeout(timer);
  54. setTimeout("moveBack()",120000 )
  55. moveTo(windowX,windowYstop);
  56. }
  57. }
  58. else
  59. {
  60. moveTo(windowX,windowYstop);
  61. }
  62. }
  63. function moveBack()
  64. {
  65. if (document.all)
  66. {
  67. if (windowYnow<=windowY)
  68. {
  69. moveTo(windowX,windowYnow);
  70. windowYnow=windowYnow+windowStep;
  71. timer1=setTimeout("moveBack()",moveSpeed);
  72. }
  73. else
  74. {
  75. clearTimeout(timer1);
  76. moveTo(windowX,windowY);
  77. self.close()
  78. }
  79. }
  80. else
  81. {
  82. moveTo(windowX,windowYstop);
  83. self.close()
  84. }
  85. }
  86. </script>
  87. </TABLE>
  88. </body>
  89. </HTML>