?? talkface.htm
字號(hào):
<html>
<head>
<meta http-equiv="Content-Language" content="zh-cn">
<meta http-equiv="pragma" content="no-cache">
<meta http-equiv="expires" content="web,26 Feb 1960 08:21:57 GMT">
<title>信息窗--通信工具</title>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312">
<link rel="stylesheet" type="text/css" href="../qqprg/style.css">
<SCRIPT language=javascript>
<!--
if (window.Event)
document.captureEvents(Event.MOUSEUP);
function nocontextmenu() {
event.cancelBubble = true
event.returnvalue = false;
return false;
}
function norightclick(e) {
if (window.Event) {
if (e.which == 2 || e.which == 3)
return false;
} else if (event.button == 2 || event.button == 3) {
event.cancelBubble = true
event.returnvalue = false;
return false;
}
}
document.oncontextmenu = nocontextmenu; // for IE5+
document.onmousedown = norightclick; // for all others
//-->
</SCRIPT>
<script language="javascript">
<!--hide
var randnumber,y,mainwin,facenum;
var listtimeid=null;
randtime=0;
mainwin=0;
y=0;
function close_win()
{
opener.dispinfoflag.value="0";
opener.moveTo(600,70);
}
function listonlinehead()
{
window("userlist").document.open();
window("userlist").document.write("<html>");
window("userlist").document.write("<head>");
window("userlist").document.write("<meta http-equiv=\"pragma\" content=\"no-cache\">");
window("userlist").document.write("<meta http-equiv=\"expires\" content=\"web,26 Feb 1960 08:21:57 GMT\">");
window("userlist").document.write("<meta http-equiv=\"Content-Type\" content=\"text/html; charset=gb2312\">");
window("userlist").document.write("<style type=\"text/css\">");
window("userlist").document.write("<!--");
window("userlist").document.write("body { font-family: \"宋體\"; font-size: 9pt;}");
window("userlist").document.write("td {font-family:\"宋體\";font-size:9pt;}");
window("userlist").document.write("-->");
window("userlist").document.write("</style>");
window("userlist").document.write("</head>");
window("userlist").document.write("<body bgcolor=\"#8484c6\" text=\"#000000\" leftmargin=\"1\" topmargin=\"1\">");
window("userlist").document.write("<table border='0' bgcolor='#8484c6' width='100%'>");
}
function listonlineuser()
{
window("userlist").document.open();
listonlinehead();
var userinfostr,userinfodim,i,dimsums,infstr,onlineflag,onlinedate,onlineflag,okcode;
onlineflag=0;
userinfostr=onlineuser.value;
if (userinfostr.length==0)
{
refflag.value="0";
}
else
{
window("userlist").document.write("<table border='0' bgcolor='#8484c6' width='100%'>");
userinfodim=userinfostr.split("|");
for (i in userinfodim)
{
if(userinfodim[i]!="")
{
infstr=userinfodim[i].split("$");
window("userlist").document.write("<tr>");
if (infstr[0]==opener.usersessionid.value && infstr[2]=="0")
{
window("userlist").document.write("<td width='100%' height='20' ONMOUSEOVER=\"this.bgColor='#716fbd';this.style.cursor='hand';\" ONMOUSEOUT=\"this.bgColor='#8484c6';\" ONCLICK=\"parent.click_disp_history('"+infstr[0]+"','"+infstr[1]+"');\" title=\""+infstr[3]+"上線\"><img src='../qqpic/face/face"+infstr[5]+".gif' height=16 width=16> "+infstr[1]+"</td>");
onlineflag=1;
}
else if (infstr[0]==opener.usersessionid.value && infstr[2]=="2")
{
window("userlist").document.write("<td width='100%' height='20' ONMOUSEOVER=\"this.bgColor='#716fbd';this.style.cursor='hand';\" ONMOUSEOUT=\"this.bgColor='#8484c6';\" ONCLICK=\"parent.click_disp_history('"+infstr[0]+"','"+infstr[1]+"');\" title=\""+infstr[3]+"上線(注冊(cè)用戶(hù))\"><img src='../qqpic/face/face"+infstr[5]+".gif' height=16 width=16> <font color=#e8e8e8>"+infstr[1]+"</font></td>");
onlineflag=1;
}
else if (infstr[2]=="2")
{
window("userlist").document.write("<td width='100%' height='20' ONMOUSEOVER=\"this.bgColor='#716fbd';this.style.cursor='hand';\" ONMOUSEOUT=\"this.bgColor='#8484c6';\" ONCLICK=\"parent.click_disp_history('"+infstr[0]+"','"+infstr[1]+"');\" title=\""+infstr[3]+"上線(注冊(cè)用戶(hù))\"><img src='../qqpic/face/face"+infstr[5]+".gif' height=16 width=16> <font color=#e8e8e8>"+infstr[1]+"</td>");
}
else if (infstr[2]=="0")
window("userlist").document.write("<td width='100%' height='20' ONMOUSEOVER=\"this.bgColor='#716fbd';this.style.cursor='hand';\" ONMOUSEOUT=\"this.bgColor='#8484c6';\" ONCLICK=\"parent.click_disp_history('"+infstr[0]+"','"+infstr[1]+"');\" title=\"于"+infstr[3]+"上線\"><img src='../qqpic/face/face"+infstr[5]+".gif' height=16 width=16> "+infstr[1]+"</td>");
else
{
window("userlist").document.write("<td width='100%' height='20' ONMOUSEOVER=\"this.bgColor='#716fbd';this.style.cursor='hand';\" ONMOUSEOUT=\"this.bgColor='#8484c6';\" ONCLICK=\"parent.click_disp_history('"+infstr[0]+"','"+infstr[1]+"');\" title=\"于"+infstr[3]+"上線(站長(zhǎng))\"><img src='../qqpic/face/face"+infstr[5]+".gif' height=16 width=16> <font color=#ffff00>"+infstr[1]+"</font></td>");
if (infstr[0]==opener.usersessionid.value)
onlineflag=1;
}
window("userlist").document.write("</tr>");
}
}
window("userlist").document.write("</table>");
refflag.value=onlineflag;
opener.refflag.value=onlineflag;
}
window("userlist").document.write("</body></html>");
window("userlist").document.close();
//reset_win_site();
}
function sx()
{
if (refflag.value=="1" || opener.refflag.value=="1")
{
if (pageflag.value=="1")
{
listflag.value="0";
window("userlist").location.href="disp_online_user.asp?sitenumber="+opener.sitenumber.value;
}
listtime();
}
ok=setTimeout("sx()",15000+randtime*1000);
randtime=parseInt(Math.random() * 10);
}
function window_onload()
{
opener.dispinfoflag.value="1";
sx();
window("infowin").document.open();
window("infowin").document.write("<html>");
window("infowin").document.write("<head>");
window("infowin").document.write("<meta http-equiv=\"pragma\" content=\"no-cache\">");
window("infowin").document.write("<meta http-equiv=\"expires\" content=\"web,26 Feb 1960 08:21:57 GMT\">");
window("infowin").document.write("<meta http-equiv=\"Content-Type\" content=\"text/html; charset=gb2312\">");
window("infowin").document.write("<style type=\"text/css\">");
window("infowin").document.write("<!--");
window("infowin").document.write("body { font-family: \"宋體\"; font-size: 9pt;}");
window("infowin").document.write("td {font-family:\"宋體\";font-size:9pt;}");
window("infowin").document.write("A:link {COLOR: #aa0000; TEXT-DECORATION: none}");
window("infowin").document.write("A:active {COLOR: #aa0000; TEXT-DECORATION: none}");
window("infowin").document.write("A:visited {COLOR: #aa0000; TEXT-DECORATION: none}");
window("infowin").document.write("A {COLOR: #aa0000; TEXT-DECORATION: underline}");
window("infowin").document.write("A:hover {COLOR: #aa0000; TEXT-DECORATION: underline}");
window("infowin").document.write("-->");
window("infowin").document.write("</style>");
window("infowin").document.write("</head>");
window("infowin").document.write("<body bgcolor=\"#ffffff\" text=\"#000000\" leftmargin=\"1\" topmargin=\"1\">");
window("infowin").document.write("<center><font color=\"#aa0000\">>>>>>>>>>>系統(tǒng)說(shuō)明<<<<<<<<<<</font></center>");
window("infowin").document.write("1.單擊顯/隱主窗口按鈕可以顯示或隱藏主窗口。<br>");
window("infowin").document.write("2.在該模式中的對(duì)話仍是一對(duì)一,相當(dāng)于私聊,即對(duì)話框中所有對(duì)話都是與自己有關(guān)的,別人無(wú)法看見(jiàn)。<br>");
window("infowin").document.write("3.對(duì)話模式與彈出窗口模式是互通的,相互之間都能接收和發(fā)送信息。<br><hr>");
}
function reset_win_site()
{
screeny=window("userlist").document.body.scrollHeight;
y=removewin.value;
if (screeny<y)
{
y=0;
removewin.value=y;
}
window("userlist").scroll(1,y);
}
function reset_win_site()
{
screeny=window("userlist").document.body.scrollHeight;
y=removewin.value;
if (screeny<y)
{
y=0;
removewin.value=y;
}
window("userlist").scroll(1,y);
}
function change_color(colorstr)
{
color.value=colorstr;
}
function click_disp_history(number,namestr)
{
userid.value=number;
sendname.value=namestr;
talkinfo.value="對(duì)"+namestr+"說(shuō):";
info.focus();
}
function disp_history()
{
var i,infodim,infstr,number,infostr,re,info;
infostr=getinfo.value;
getinfo.value="";
opener.getinfo.value="";
if (infostr.length>0)
{
parent.window.focus();
infodim=infostr.split("|");
for (i in infodim)
{
if (infodim[i]!="")
{
opener.history.value=infodim[i]+"|"+opener.history.value;
?? 快捷鍵說(shuō)明
復(fù)制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號(hào)
Ctrl + =
減小字號(hào)
Ctrl + -