onlineuser.ascx

来自「很不错的公文流转系统」· ASCX 代码 · 共 50 行

ASCX
50
字号
<%@ Control Language="c#" AutoEventWireup="false" Codebehind="onlineUser.ascx.cs" Inherits="OI.UserControls.onlineUser" TargetSchema="http://schemas.microsoft.com/intellisense/ie5"%>
<script>
 function Dipalyonlie()
 {
   unline.style .display ='none';
   online.style.display ='';
 }
 function Displayunline()
 {
 online.style.display ='none';
 unline.style .display ='';
 
 }
 function ResetHeight(number)
 {
  divOnlieUsers.style.height=number;
  divUnlieUsers.style.height =number;
 }
</script>
<TABLE id="Table1" cellSpacing="1" cellPadding="1" width="169" border="1" style="WIDTH: 169px">
	<TR valign="top">
		<TD><A onclick="Dipalyonlie()" href="#">在线用户</A>
			<asp:label id="Labelonline" runat="server"></asp:label><BR>
			<table id="online" cellSpacing="0" cellPadding="0" border="0" style="WIDTH: 159px">
				<tr>
					<td valign="top">
						<DIV id="divOnlieUsers" style="OVERFLOW:auto; WIDTH:159px; HEIGHT:400px">
							<asp:table id="TableOnlieUsers" runat="server" Width="150px"></asp:table>
						</DIV>
					</td>
				</tr>
			</table>
		</TD>
	</TR>
	<TR valign="top">
		<TD>
			<a href="#" onclick="Displayunline()">离线用户</a><asp:Label id="Labelunline" runat="server"></asp:Label><BR>
			<table id="unline" border="0" cellpadding="0" cellspacing="0" style="DISPLAY: none">
				<tr>
					<td valign="top">
						<DIV id="divUnlieUsers" style="OVERFLOW:auto;WIDTH:159px;HEIGHT:400px">
							<asp:Table id="TableUnlineUsers" runat="server"></asp:Table>
						</DIV>
					</td>
				</tr>
			</table>
		</TD>
	</TR>
</TABLE>

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?