温馨提示:代码在线浏览功能只能做为源码浏览参考,如果想更进一步了解该代码请下载:某贸易公司项目管理系统源码
当前文件:
ProjectEva/Chat.aspx,打开代码结构图
ProjectEva/Chat.aspx,打开代码结构图1<%@ Page language="c#" Inherits="UChat.Chat" CodeFile="Chat.aspx.cs" %> 2
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN" > 3
<link href="css/css.css" rel="stylesheet" type="text/css" /> 4
<HTML> 5
<HEAD> 6
7
<title>UChat</title> 8
<meta name="GENERATOR" Content="Microsoft Visual Studio .NET 7.1"> 9
<meta name="CODE_LANGUAGE" Content="C#"> 10
<meta name="vs_defaultClientScript" content="JavaScript"> 11
<meta name="vs_targetSchema" content="http://schemas.microsoft.com/intellisense/ie5"> 12
<meta http-equiv="Content-Type" content="text/html; charset=utf-8"> 13
14
15
<script type="text/javascript" src=js/AjaxFunctions.js></script> 16
17
<script type="text/javascript" src=js/niftycube.js></script> 18
19
20
<script type="text/javascript"> 21
window.onload=function(){ 22
Nifty("div#form","big transparent"); 23
Nifty("div#chatbox","normal transparent"); 24
Nifty("div#userbox","normal transparent"); 25
} 26
</script> 27
<style> 28
#form{margin:10px; background:#ffffff; padding:15px; width:80%;} 29
#chatpane{background:#FFFFF0;} 30
</style> 31
</HEAD> 32
<body> 33
34
<form id="Form1" method="post" runat="server"></form> 35
<div id="form" style="margin-top:0px" language="javascript" onclick="return form_onclick()" align="center" > 36
<table id="__01" width="594" height="392" border="0" cellpadding="0" cellspacing="0"> 37
<tr> 38
<td colspan="18"> 39
<img src="images/liaotian_01.gif" width="593" height="7" alt=""></td> 40
<td> 41
<img src="images/spacer.gif" width="1" height="7" alt=""></td> 42
</tr> 43
<tr> 44
<td colspan="15" rowspan="2"> 45
<img src="images/liaotian_02.gif" width="564" height="19" alt=""></td> 46
<td colspan="2"> 47
<img src="images/liaotian_03.gif" width="18" height="14" alt=""></td> 48
<td rowspan="14"> 49
<img src="images/liaotian_04.gif" width="11" height="384" alt=""></td> 50
<td> 51
<img src="images/spacer.gif" width="1" height="14" alt=""></td> 52
</tr> 53
<tr> 54
<td colspan="2"> 55
<img src="images/liaotian_05.gif" width="18" height="5" alt=""></td> 56
<td> 57
<img src="images/spacer.gif" width="1" height="5" alt=""></td> 58
</tr> 59
<tr> 60
<td rowspan="12"> 61
<img src="images/liaotian_06.gif" width="11" height="365" alt=""></td> 62
<td colspan="15"> 63
<img src="images/liaotian_07.gif" width="567" height="18" alt=""></td> 64
<td rowspan="12" style="width: 5px"> 65
<img src="images/liaotian_08.gif" width="4" height="365" alt=""></td> 66
<td> 67
<img src="images/spacer.gif" width="1" height="18" alt=""></td> 68
</tr> 69
<tr> 70
<td colspan="11" rowspan="4"> 71
<div id="chatpane" style="overflow-y: scroll; background: #ffffff; float: left; overflow-x: scroll; 72
width: 362px; list-style-type: none; height: 201px"> 73
<ul id="chatbuffer"> 74
</ul> 75
</div> 76
</td> 77
<td colspan="4"> 78
<img src="images/liaotian_10.gif" width="205" height="20" alt=""></td> 79
<td> 80
<img src="images/spacer.gif" width="1" height="20" alt=""></td> 81
</tr> 82
<tr> 83
<td colspan="2" rowspan="6"> 84
<img src="images/liaotian_11.gif" width="5" height="287" alt=""></td> 85
<td colspan="2" valign="top"> 86
<asp:Image ID="Image1" runat="server" ImageAlign="AbsMiddle" ImageUrl="~/Images/announce.gif" />请各位同事注意聊天内容!</td> 87
<td> 88
<img src="images/spacer.gif" width="1" height="79" alt=""></td> 89
</tr> 90
<tr> 91
<td colspan="2"> 92
<img src="images/liaotian_13.gif" width="200" height="19" alt=""></td> 93
<td> 94
<img src="images/spacer.gif" width="1" height="19" alt=""></td> 95
</tr> 96
<tr> 97
<td colspan="2" rowspan="5"> 98
<div id="userpane" style="overflow-y: scroll; background: #ffffff; float: left; overflow-x: scroll;margin-top: 0px; list-style-image: url(Images/user.gif); height: 205px ;width:190; 99
vertical-align: top; border-top-style: none; border-right-style: none; border-left-style: none; 100
border-bottom-style: none "> 101
102
<ul id="userlist"> 103
</ul> 104
</div> 105
</td> 106
<td> 107
<img src="images/spacer.gif" width="1" height="89" alt=""></td> 108
</tr> 109
<tr> 110
<td> 111
<img src="images/liaotian_15.gif" width="5" height="22" alt=""></td> 112
<td> 113
<img src="images/liaotian_16.gif" width="19" height="22" alt=""></td> 114
<td> 115
<img src="images/liaotian_17.gif" width="4" height="22" alt=""></td> 116
<td> 117
<img src="images/liaotian_18.gif" width="21" height="22" alt=""></td> 118
<td> 119
<img src="images/liaotian_19.gif" width="4" height="22" alt=""></td> 120
<td colspan="2"> 121
<img src="images/liaotian_20.gif" width="21" height="22" alt=""></td> 122
<td colspan="4" background="images/liaotian_21.gif"> 123
请按回车键发送消息</td> 124
<td> 125
<img src="images/spacer.gif" width="1" height="22" alt=""></td> 126
</tr> 127
<tr> 128
<td colspan="11"> 129
<textarea id="mytext" name="mytext" onkeydown="captureReturn(event)" style="border-right: 0px; 130
border-top: 0px; border-left: 0px; width: 362px; border-bottom: 0px; height: 70px"></textarea> 131
132
<script language="text/javascript"> 133
sniffBrowserType(); 134
showLoadScreen(); 135
setTimers(); 136
setFocus('mytext'); 137
function form_onclick() { 138
139
} 140
</script> 141
142
</td> 143
<td> 144
<img src="images/spacer.gif" width="1" height="72" alt=""></td> 145
</tr> 146
<tr> 147
<td colspan="11"> 148
<img src="images/liaotian_23.gif" width="362" height="6" alt=""></td> 149
<td> 150
<img src="images/spacer.gif" width="1" height="6" alt=""></td> 151
</tr> 152
<tr> 153
<td colspan="6" rowspan="2"> 154
<img src="images/liaotian_24.gif" width="72" height="21" alt=""></td> 155
<td colspan="2" rowspan="4"> 156
<img src="images/liaotian_25.gif" width="165" height="40" alt=""></td> 157
<td rowspan="2"> 158
<img src="images/liaotian_26.gif" width="53" height="21" alt=""></td> 159
<td rowspan="4"> 160
<img src="images/liaotian_27.gif" width="3" height="40" alt=""></td> 161
<td colspan="2" rowspan="3"> 162
<img src="images/liaotian_28.gif" width="70" height="22" alt=""></td> 163
<td rowspan="4" style="width: 5px"> 164
<img src="images/liaotian_29.gif" width="4" height="40" alt=""></td> 165
<td style="height: 20px"> 166
<img src="images/spacer.gif" width="1" height="20" alt=""></td> 167
</tr> 168
<tr> 169
<td colspan="2" rowspan="3"> 170
<img src="images/liaotian_30.gif" width="200" height="20" alt=""></td> 171
<td> 172
<img src="images/spacer.gif" width="1" height="1" alt=""></td> 173
</tr> 174
<tr> 175
<td colspan="6" rowspan="2"> 176
<img src="images/liaotian_31.gif" width="72" height="19" alt=""></td> 177
<td rowspan="2"> 178
<img src="images/liaotian_32.gif" width="53" height="19" alt=""></td> 179
<td> 180
<img src="images/spacer.gif" width="1" height="1" alt=""></td> 181
</tr> 182
<tr> 183
<td colspan="2"> 184
<img src="images/liaotian_33.gif" width="70" height="18" alt=""></td> 185
<td> 186
<img src="images/spacer.gif" width="1" height="18" alt=""></td> 187
</tr> 188
<tr> 189
<td> 190
<img src="images/spacer.gif" width="11" height="1" alt=""></td> 191
<td> 192
<img src="images/spacer.gif" width="5" height="1" alt=""></td> 193
<td> 194
<img src="images/spacer.gif" width="19" height="1" alt=""></td> 195
<td> 196
<img src="images/spacer.gif" width="4" height="1" alt=""></td> 197
<td> 198
<img src="images/spacer.gif" width="21" height="1" alt=""></td> 199
<td> 200
<img src="images/spacer.gif" width="4" height="1" alt=""></td> 201
<td> 202
<img src="images/spacer.gif" width="19" height="1" alt=""></td> 203
<td> 204
<img src="images/spacer.gif" width="2" height="1" alt=""></td> 205
<td> 206
<img src="images/spacer.gif" width="163" height="1" alt=""></td> 207
<td> 208
<img src="images/spacer.gif" width="53" height="1" alt=""></td> 209
<td> 210
<img src="images/spacer.gif" width="3" height="1" alt=""></td> 211
<td> 212
<img src="images/spacer.gif" width="69" height="1" alt=""></td> 213
<td> 214
<img src="images/spacer.gif" width="1" height="1" alt=""></td> 215
<td style="width: 5px"> 216
<img src="images/spacer.gif" width="4" height="1" alt=""></td> 217
<td> 218
<img src="images/spacer.gif" width="186" height="1" alt=""></td> 219
<td style="width: 15px"> 220
<img src="images/spacer.gif" width="14" height="1" alt=""></td> 221
<td style="width: 5px"> 222
<img src="images/spacer.gif" width="4" height="1" alt=""></td> 223
<td> 224
<img src="images/spacer.gif" width="11" height="1" alt=""></td> 225
<td></td> 226
</tr> 227
</table> 228
</div> 229
</body> 230
</HTML> 231





window.onload
Nifty(
}