📄 chat.aspx
字号:
<%@ Page language="c#" Inherits="UChat.Chat" CodeFile="Chat.aspx.cs" %>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN" >
<link href="~/css/css.css" rel="stylesheet" type="text/css" />
<HTML>
<HEAD>
<title>UChat</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">
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<script type="text/javascript" src=~/js/AjaxFunctions.js></script>
<script type="text/javascript" src=~/js/niftycube.js></script>
<script type="text/javascript">
window.onload=function(){
Nifty("div#form","big transparent");
Nifty("div#chatbox","normal transparent");
Nifty("div#userbox","normal transparent");
}
</script>
<style>
#form{margin:10px; background:#ffffff; padding:15px; width:80%;}
#chatpane{background:#FFFFF0;}
</style>
</HEAD>
<body>
<form id="Form1" method="post" runat="server"></form>
<div id="form" style="margin-top:0px" language="javascript" onclick="return form_onclick()" align="center" >
<table id="__01" width="594" height="392" border="0" cellpadding="0" cellspacing="0">
<tr>
<td colspan="18">
<img src="images/liaotian_01.gif" width="593" height="7" alt=""></td>
<td>
<img src="images/spacer.gif" width="1" height="7" alt=""></td>
</tr>
<tr>
<td colspan="15" rowspan="2">
<img src="images/liaotian_02.gif" width="564" height="19" alt=""></td>
<td colspan="2">
<img src="images/liaotian_03.gif" width="18" height="14" alt=""></td>
<td rowspan="14">
<img src="images/liaotian_04.gif" width="11" height="384" alt=""></td>
<td>
<img src="images/spacer.gif" width="1" height="14" alt=""></td>
</tr>
<tr>
<td colspan="2">
<img src="images/liaotian_05.gif" width="18" height="5" alt=""></td>
<td>
<img src="images/spacer.gif" width="1" height="5" alt=""></td>
</tr>
<tr>
<td rowspan="12">
<img src="images/liaotian_06.gif" width="11" height="365" alt=""></td>
<td colspan="15">
<img src="images/liaotian_07.gif" width="567" height="18" alt=""></td>
<td rowspan="12">
<img src="images/liaotian_08.gif" width="4" height="365" alt=""></td>
<td>
<img src="images/spacer.gif" width="1" height="18" alt=""></td>
</tr>
<tr>
<td colspan="11" rowspan="4">
<div id="chatpane" style="overflow-y: scroll; background: #ffffff; float: left; overflow-x: scroll;
width: 362px; list-style-type: none; height: 201px">
<ul id="chatbuffer">
</ul>
</div>
</td>
<td colspan="4">
<img src="images/liaotian_10.gif" width="205" height="20" alt=""></td>
<td>
<img src="images/spacer.gif" width="1" height="20" alt=""></td>
</tr>
<tr>
<td colspan="2" rowspan="6">
<img src="images/liaotian_11.gif" width="5" height="287" alt=""></td>
<td colspan="2" valign="top">
<asp:Image ID="Image1" runat="server" ImageAlign="AbsMiddle" ImageUrl="~/Images/announce.gif" />请各位同事注意聊天内容!</td>
<td>
<img src="images/spacer.gif" width="1" height="79" alt=""></td>
</tr>
<tr>
<td colspan="2">
<img src="images/liaotian_13.gif" width="200" height="19" alt=""></td>
<td>
<img src="images/spacer.gif" width="1" height="19" alt=""></td>
</tr>
<tr>
<td colspan="2" rowspan="5">
<div id="userpane" style="margin-top: 0px; list-style-image: url(Images/user.gif);
vertical-align: top; border-top-style: none; border-right-style: none; border-left-style: none;
border-bottom-style: none" valign="top">
<ul id="userlist">
</ul>
</div>
</td>
<td>
<img src="images/spacer.gif" width="1" height="89" alt=""></td>
</tr>
<tr>
<td>
<img src="images/liaotian_15.gif" width="5" height="22" alt=""></td>
<td>
<img src="images/liaotian_16.gif" width="19" height="22" alt=""></td>
<td>
<img src="images/liaotian_17.gif" width="4" height="22" alt=""></td>
<td>
<img src="images/liaotian_18.gif" width="21" height="22" alt=""></td>
<td>
<img src="images/liaotian_19.gif" width="4" height="22" alt=""></td>
<td colspan="2">
<img src="images/liaotian_20.gif" width="21" height="22" alt=""></td>
<td colspan="4" background="images/liaotian_21.gif">
请按回车键发送消息</td>
<td>
<img src="images/spacer.gif" width="1" height="22" alt=""></td>
</tr>
<tr>
<td colspan="11">
<textarea id="mytext" name="mytext" onkeydown="captureReturn(event)" style="border-right: 0px;
border-top: 0px; border-left: 0px; width: 362px; border-bottom: 0px; height: 70px"></textarea>
<script language="text/javascript">
sniffBrowserType();
showLoadScreen();
setTimers();
setFocus('mytext');
function form_onclick() {
}
</script>
</td>
<td>
<img src="images/spacer.gif" width="1" height="72" alt=""></td>
</tr>
<tr>
<td colspan="11">
<img src="images/liaotian_23.gif" width="362" height="6" alt=""></td>
<td>
<img src="images/spacer.gif" width="1" height="6" alt=""></td>
</tr>
<tr>
<td colspan="6" rowspan="2">
<img src="images/liaotian_24.gif" width="72" height="21" alt=""></td>
<td colspan="2" rowspan="4">
<img src="images/liaotian_25.gif" width="165" height="40" alt=""></td>
<td rowspan="2">
<img src="images/liaotian_26.gif" width="53" height="21" alt=""></td>
<td rowspan="4">
<img src="images/liaotian_27.gif" width="3" height="40" alt=""></td>
<td colspan="2" rowspan="3">
<img src="images/liaotian_28.gif" width="70" height="22" alt=""></td>
<td rowspan="4">
<img src="images/liaotian_29.gif" width="4" height="40" alt=""></td>
<td>
<img src="images/spacer.gif" width="1" height="20" alt=""></td>
</tr>
<tr>
<td colspan="2" rowspan="3">
<img src="images/liaotian_30.gif" width="200" height="20" alt=""></td>
<td>
<img src="images/spacer.gif" width="1" height="1" alt=""></td>
</tr>
<tr>
<td colspan="6" rowspan="2">
<img src="images/liaotian_31.gif" width="72" height="19" alt=""></td>
<td rowspan="2">
<img src="images/liaotian_32.gif" width="53" height="19" alt=""></td>
<td>
<img src="images/spacer.gif" width="1" height="1" alt=""></td>
</tr>
<tr>
<td colspan="2">
<img src="images/liaotian_33.gif" width="70" height="18" alt=""></td>
<td>
<img src="images/spacer.gif" width="1" height="18" alt=""></td>
</tr>
<tr>
<td>
<img src="images/spacer.gif" width="11" height="1" alt=""></td>
<td>
<img src="images/spacer.gif" width="5" height="1" alt=""></td>
<td>
<img src="images/spacer.gif" width="19" height="1" alt=""></td>
<td>
<img src="images/spacer.gif" width="4" height="1" alt=""></td>
<td>
<img src="images/spacer.gif" width="21" height="1" alt=""></td>
<td>
<img src="images/spacer.gif" width="4" height="1" alt=""></td>
<td>
<img src="images/spacer.gif" width="19" height="1" alt=""></td>
<td>
<img src="images/spacer.gif" width="2" height="1" alt=""></td>
<td>
<img src="images/spacer.gif" width="163" height="1" alt=""></td>
<td>
<img src="images/spacer.gif" width="53" height="1" alt=""></td>
<td>
<img src="images/spacer.gif" width="3" height="1" alt=""></td>
<td>
<img src="images/spacer.gif" width="69" height="1" alt=""></td>
<td>
<img src="images/spacer.gif" width="1" height="1" alt=""></td>
<td>
<img src="images/spacer.gif" width="4" height="1" alt=""></td>
<td>
<img src="images/spacer.gif" width="186" height="1" alt=""></td>
<td>
<img src="images/spacer.gif" width="14" height="1" alt=""></td>
<td>
<img src="images/spacer.gif" width="4" height="1" alt=""></td>
<td>
<img src="images/spacer.gif" width="11" height="1" alt=""></td>
<td></td>
</tr>
</table>
</div>
</body>
</HTML>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -