📄 chat.htm
字号:
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312">
<title>倚天聊天室(http://chat.itdoor.net)</title>
<meta name="GENERATOR" content="Microsoft FrontPage 3.0">
<style type="text/css">
<!--
.p9 {font-size: 9pt; line-height: 14pt }
.p10 {font-size: 10pt; line-height: 16pt }
A:link {COLOR: #0000ff; TEXT-DECORATION: underline }
A:hover{COLOR: #EB551D; TEXT-DECORATION: none }
A:active{COLOR: #EB551D }
.btn {background-color: #f4dae3;font-size: 9pt; line-height: 12pt}
-->
</style>
</head>
<script language="javascript">
curtimerID=0;
appstart=0;
stimer=0;
sendcount=0;
trycount=0;
function window_timer()
{
if(stimer>0)
{
stimer--;
if(stimer==0)
{
sendcount++;
if(sendcount>3)
{
trycount=0;
sendcount=0;
}
document.sendform.sendbtn.disabled="";
}
}
if(typeof(document.chatapplet.chattitle)!='undefined')
getappletinfo();
}
function on_appletEvent()
{
curtimerID=setInterval("window_timer()", 200);
}
function change_elevalue(ename,evalue)
{
for(i=0; i<document.all.length; i++)
{
if(document.all(i).name==ename)
document.all(i).innerText=evalue;
}
}
function getappletinfo()
{
var evetype=document.chatapplet.getEventType();
if(evetype==1)
{
document.chatapplet.destroy();
top.close();
}
else if(evetype==2)
{
for(i=0; i<document.all.length; i++)
{
if(document.all(i).name=='msgtbl')
document.all(i).style.display="";
}
}
else if(evetype==3)
document.sendform.exitbtn.value="退 出";
else if(evetype==4)
document.sendform.exitbtn.value="重新连接";
else
{
var ival=document.chatapplet.getCurRoomTitle();
if(ival!='')
{
change_elevalue("rtitle",ival);
var ival1=document.chatapplet.getCurRoomOwner();
if(ival1=='')
ival1="(公共房间";
else
ival1="(房主:"+ival1;
ival1=ival1+" "+document.chatapplet.getRoomUserNum()+"人)";
change_elevalue("rinfo",ival1);
appstart=1;
}
else if(appstart==0)
change_elevalue("alabel","当前房间:");
}
}
function showfindDlg()
{
if(appstart==1)
document.chatapplet.showfindDlg();
}
function showhelpDlg(helpurl)
{
window.open(helpurl,'_blank','width=560,height=500,top=30,left=60,status=no,toolbar=no,scrollbars=yes,menubar=no,location=no');
}
function sendmsg()
{
var msg=document.sendform.saymsg.value;
if(document.sendform.sendbtn.disabled)
{
trycount++;
if(trycount>3)
{
alert("本聊天室禁止刷屏!");
trycount=2;
document.sendform.saymsg.blur();
}
}
else if(msg=='')
{
alert("请输入你要说的话。");
}
else
{
document.chatapplet.sendTalkMsg(msg);
document.sendform.saymsg.value="";
document.sendform.sendbtn.disabled=true;
stimer=15;
}
return false;
}
function click_exit()
{
document.chatapplet.changeConnect();
}
</script>
<body bgcolor="#f4bdcf" vlink="0000ff" topmargin="0" leftmargin="5" onload="on_appletEvent();" oncontextmenu="self.event.returnValue=false">
<div align="center"><center>
<form name="sendform" onsubmit="return sendmsg();">
<table border="0" width="100%" cellspacing="0" cellpadding="2" bgcolor="#f4bdcf">
<tr>
<td width="50%"><table border="1" width="468" style="border: medium none">
<tr>
<td width="468"><a href="http://chat.itdoor.net" target="_blank"><img src="image/chatlogo.gif" width="468" height="60"></td>
</tr>
</table>
</td>
<td width="8%"> </td>
<td width="3%"><img src="image/a4.gif" width="28" height="26"></td>
<td width="8%" class="p9" nowrap><a href="http://168.160.224.134:1111/forum/feeling/index.html" target="_blank">留言板</a></td>
<td width="3%"><img src="image/a5.gif" width="27" height="25"></td>
<td width="10%" class="p9" nowrap><a href="mailto:webmaster@itdoor.net" target="_blank">管理员信箱</a></td>
</tr>
</table>
<table border="0" width="100%" height="24" cellspacing="0" cellpadding=""0 bgcolor="#f4bdcf">
<tr>
<td width="60%" class="p9" align="left"> <font name="alabel" color="#000000">正在载入聊天室Applet(第一次载入需十几秒,以后可直接进入),请稍侯....</font><font name="rtitle" color="#FFFFFF"></font><font name="rinfo" color="#8000FF"></font></td>
<td width="39%" class="p9" align="right" > <a
href="#" onclick="showfindDlg();return false;">聊友查找</a> <a
href="#" onclick="showhelpDlg('http://chat.itdoor.net/emote/emote1.htm');return false;">EMOTE大全</a> <a href="#" onclick="showhelpDlg('http://chat.itdoor.net/help/chathelp.htm');return false;">帮助</a></td>
<td width="1%" class="p9"></td>
</tr>
</table>
<table border="1" cellspacing="0" cellpadding="0" width="100%" style="border: medium none">
<tr><td width="100%">
<table border="0" width="100%" cellspacing="0" cellpadding="0" bgcolor="#f4bdcf">
<tr>
<td width="100%" align="center">
<script language="javascript">
var wid=window.screen.width-20;
var heg=window.screen.height-250;
document.write("<applet code=ChatClient.chatclient.class codebase=http://chat.itdoor.net name=chatapplet width="+wid+" height="+heg+">");
</script>
<param name="cabbase" value="chatclient.cab">
<param name="port" value="6250">
<param name="title" value="倚天聊天室">
<param name="roomname" value="电脑时空|野人花园|情感话题|菜鸟园地">
<param name="bgcolor" value="f4dae3">
<param name="tlecolor" value="f594a8">
<param name="adinfotype" value="1">
</applet>
</td>
</tr>
<tr>
<td width="100%" height="22" valign="top"><table name="msgtbl" style="display:none;" border="0" width="100%">
<tr>
<td width="80%"><input type="text" name="saymsg" size="40" style="width:100%"></td>
<td width="20%"><input type="submit" value="发言" name="sendbtn" class="btn" maxlength="80"> <input
type="button" value=" 退 出 " name="exitbtn" class="btn" onclick="click_exit();"></td>
</tr>
</table></td>
</tr>
</table>
</td>
</tr>
</table>
</form>
</center></div>
</body>
</html>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -