NotifyMeeting.aspx
资源名称:OA_at.rar [点击查看]
上传用户:tree100901
上传日期:2007-06-03
资源大小:2295k
文件大小:2k
源码类别:
OA系统
开发平台:
C#
- <%@ Page language="c#" Codebehind="NotifyMeeting.aspx.cs" AutoEventWireup="false" Inherits="OA.NotifyMeeting" %>
- <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN" >
- <HTML>
- <HEAD>
- <title>NotifyMeeting</title>
- <meta name="GENERATOR" Content="Microsoft Visual Studio .NET 7.1">
- <meta name="CODE_LANGUAGE" Content="C#">
- <meta name="vs_defaultClientScript" content="JavaScript">
- <meta name="vs_targetSchema" content="http://schemas.microsoft.com/intellisense/ie5">
- <script language="javascript">
- var intCallID=0;
- function Init()
- {
- if(divMeeting.innerHTML==""){
- GetNewMeeting();
- setInterval("GetNewMeeting()",5000);
- }
- }
- function GetNewMeeting()
- {
- divMeeting.innerHTML='';
- Service.useService("http://218.84.107.8/OA/WebService1/OAService.asmx?WSDL","MeetingService");
- intCallID=Service.MeetingService.callService(RealTime_Result,"GetNewMeeting",document.all.Hidden1.value);
- }
- function RealTime_Result(result)
- {
- if(result.error)
- {
- divMeeting.innerHTML="";
- }
- else
- {
- if(divMeeting.innerHTML==""&&result.value != ""){
- divMeeting.innerHTML= "<img src='images//grayDots.gif'border='0'> <a style= 'CURSOR:hand;'onclick=javascript:OpenWin();>你的会议通知来了!</a>";
- window.setInterval("divMeeting.style.color ='#6699ff'",500);
- window.setInterval("divMeeting.style.color ='white'",500);
- }
- }
- }
- function OpenWin(){
- window.open('DisplayMeeting.aspx?PersonID='+document.all.Hidden1.value,'_blank','toolbar=no,location=no,directories=no,status=no,menubar=no,scrollbars=yes,resizable=no,left=0,top=0,width=100,height=100');
- setInterval("GetNewMeeting()",5000);
- }
- </script>
- </HEAD>
- <body onload="Init()" oncontextmenu='return false' bgcolor="lightgrey" topmargin="5" leftmargin="1"
- rightmargin="1">
- <form id="Form1" method="post" runat="server">
- <INPUT style="Z-INDEX: 101; LEFT: 8px; POSITION: absolute; TOP: 8px" type="hidden" id="Hidden1"
- name="Hidden1" runat="server">
- <div id="Service" style="BEHAVIOR:url(webservice.htc)"></div>
- <div id="divMeeting" style="FONT-SIZE: 9pt; VERTICAL-ALIGN: baseline; FONT-FAMILY: 宋体; TEXT-ALIGN: center"
- align="center"></div> </form>
- </body>
- </HTML>