选择显示字体大小

xmlhttp+javascript+asp写得聊天室,无刷新实现

使用xml.而无须不断刷新*.asp.
无刷新实现发言的逐条显示.
使用application变量存储聊天记录,所以要需要建立一个虚拟目录
服务器端不需要支持xml,只要支持asp和能建立虚拟目录就可以了.
以下代码在nt4.0+iis4.0上通过.我估计在你的win2000下也差不多吧.
如果有问题,请多多赐教.netnice@chinaok.net

##########index.asp##############################

<html>
<head>
<title>蓝蝶聊天室 www.chinaok.net</title>
<meta http-equiv="content-type" content="text/html; charset=gb2312">
<style type="text/css">
body{font-size: 9pt}
td{font-size: 9pt}
.tbljm{border-bottom: #000000 1px solid; border-left: #000000 1px solid; border-right: #000000 1px solid; border-top: #000000 1px solid;color:#000000;}
</style>
<script language="javascript">
function openwin()
{winst="status=yes,scrollbars=yes,resizable=yes,width="+(screen.availwidth-10)+",height="+(screen.availheight-50)+",top=0,left=0";
window.open('about:blank','7923sdfsdfs',winst);
}
function form_onsubmit(obj)
{ var no=0,psd="1234567890";
if(obj.username.value==""){alert("请输入你的昵称!\n"); obj.username.focus(); return false;}
if(obj.username.value.indexof(" ")>-1 obj.username.value.indexof("'")>-1 obj.username.value.indexof("\"")>-1)
{alert("你的昵称含有非法字符!\n"); obj.username.focus(); return false;}
openwin();
return true;
}
</script>
</head>

<body bgcolor="#ffffff" text="#000000" valign="center" onload="javascript:document.form1.ok.blur()"
background="images/greystrip.gif">
<center><table border=0 width="67%">
<tbody>
<tr>
<td valign=center align="middle" style="font-size: 10.5pt"><font color=#0033ff>::::: :::::</font> </td>
</tr></tbody></table></center>
<table width="200" border="0" style="border-right: #003366 1px solid; border-top: #003366 1px solid; border-left:
#003366 1px solid; border-bottom: #003366 1px solid" cellspacing="0" cellpadding="0" align="center">
<tr>
<td bgcolor="#304d7c" height="25">
<div align="center"><font color="#ffffff">用户登陆</font></div>
</td>
</tr>
<tr>
<td height="121">
<form name="form1" method="post" action="main.asp" onsubmit="return form_onsubmit(this)" target="7923sdfsdfs">

<table width="199" border="0" cellspacing="0" cellpadding="0" background="images/greystrip.gif">
<tr>
<td height="35">
<div align="center">用户名:
<input name="username" size="10" maxlength="20" class=tbljm>
</div>
</td>
</tr>
<tr>
<td height="41">
<div align="center">性 别:
<input type=radio value="0" name=sx checked>男 <input type="radio" value="1" name=sx>女
</div>
</td>
</tr>
<tr>
<td height="40">
<div align="center">
<input type="submit" name="ok" value="登 陆" class=tbljm>
<input type="reset" name="nook" value="重 写" class=tbljm><br><br><font color=red>
演示xmlhttp实现的无刷新技术<br>代码可下载</font><br></div>
</td>
</tr>
</table>
</form></td>
</tr>
</table>
</body>
</html>


################main.asp######################

<%response.buffer=true
response.expires=0
username=request.form("username")
if username="" then response.redirect "index.asp"
session("u_name")=username
if request.form("sx")="1" then
session("u_sx")="1"
else
session("u_sx")="0"
end if
%>
<html>

<head>
<meta http-equiv="content-type" content="text/html; charset=gb2312">
<link rel="shortcuticon" url="images/bluenote.ico">
<title>蓝蝶聊天室::欢迎您! www.chinaok.net .............蓝蝶精品网.............www.chinaok.net</title>
<style>
.fbd{border-bottom-color: #3a5c9f; border-bottom-style: solid; border-left-color: #3a5c9f; border-left-style: solid;
border-right-color: #3a5c9f; border-right-style: solid; border-top-color: #3a5c9f; border-top-style: solid}
.topc{bgcolor:#ffff00}
</style>
<script language="javascript">
self.onerror=null;
var nullframe = '<html><body bgcolor=#003366 text=#ffffff><center><h3 color=#ffffff>正在读取资料, 请稍候 ......</h3></center></body></html>';
</script>
</head>
<frameset cols="*,0" rows="*" class=topc>
<frameset rows="*,75" cols='*' framespacing="0" frameborder="1" border="0" >
<frameset rows="45%,*" cols='*' framespacing="1" border="1" name="content" frameborder='yes' class=topc>
<frame name="pub" src="javascript:parent.nullframe" scrolling="auto" frameborder=1 >
<frame name="my" src="javascript:parent.nullframe" scrolling="auto" frameborder=1>
</frameset>
<frame name="sd" scrolling="no" noresize src="send.asp" >
</frameset>
<noframes>
<p>此网页使用了框架,但您的浏览器不支持框架。</p>

</body>
</noframes>
</frameset>

</html>


################reload.asp##############

<%'response.contenttype="text/xml"
response.write "<?xml version=""1.0"" encoding=""gb2312""?>"
response.write "<msg>"
dim c_info,c_lid,c_ip,u_lid,newlid,u_name,i
c_info=application("c_info")
u_lid=session("u_lid")
newlid=u_lid
u_name=&quot.netnice"
for i=c_info(0)+6 to 240 step 6
if (c_info(i)>u_lid) and ((c_info(i+1)=u_name) or (c_info(i+2)=u_name) or (c_info(i+2)="大家") or (c_info(i+3)="0")) then
response.write c_info(i+5)
if (newlid<c_info(i)) then newlid=c_info(i)
end if
next
for i=1 to c_info(0) step 6
if (c_info(i)>u_lid) and ((c_info(i+1)=u_name) or (c_info(i+2)=u_name) or (c_info(i+2)="大家") or (c_info(i+3)="0")) then
response.write c_info(i+5)
if (newlid<c_info(i)) then newlid=c_info(i)
end if
next
response.write "</msg>"
session("u_lid")=newlid
%>

########say.asp##############

<% option explicit
dim f,t,sc,cl,e,w,sj
response.contenttype="text/xml"
f=request.form ("f")
t=request.form ("t")
sc=request.form ("sc")
cl=request.form ("cl")
e=request.form("e")
'w=request.form("w")
w="0"
'发言时间
sj=gettime()
if request.servervariables("request_method")="post" then
sc="<f>"&trim(f)&"</f><t>"&trim(t)&"</t><e>"&e&"</e><sc>"&trim(sc)&"<
/sc><cl>"
&trim(cl)&"</cl><sj>"&sj&"</sj>"
else
response.end
end if
dim c_info,c_lid,c_ip,u_lid,newlid,u_name,i
application.lock
c_info=application("c_info")
c_lid=application("c_lid")+1
application("c_lid")=c_lid
c_ip=(c_info(0)+6) mod 240
c_info(0)=c_ip
c_info(c_ip)=c_lid
c_info(c_ip+1)=f
c_info(c_ip+2)=t
c_info(c_ip+3)=w
c_info(c_ip+4)=""
c_info(c_ip+5)=sc '"<f>"&trim(f)&"</f><t>"&trim(t)&"</t><e>"&e&"</e><sc>"&trim(sc)&"&lt
;/sc><cl>"
&trim(cl)&"</cl><sj>"&sj&"</sj>"
application("c_info")=c_info
application.unlock
u_lid=session("u_lid")
newlid=u_lid
u_name=session("u_name")
'&application("c_lid")&"%"&c_info(0)

response.write "<?xml version=""1.0""?><msg>"
for i=c_info(0)+6 to 240 step 6
if (c_info(i)>u_lid) and ((c_info(i+1)=u_name) or (c_info(i+2)=u_name) or
(c_info(i+2)="大家") or (c_info(i+3)="0")) then
response.write c_info(i+5)
if (newlid<c_info(i)) then newlid=c_info(i)
end if
next
for i=1 to c_info(0) step 6
if (c_info(i)>u_lid) and ((c_info(i+1)=u_name) or (c_info(i+2)=u_name) or
(c_info(i+2)="大家") or (c_info(i+3)="0")) then
response.write c_info(i+5)
if (newlid<c_info(i)) then newlid=c_info(i)
end if
next

response.write "</msg>"
session("u_lid")=newlid

function gettime()
dim y,m,d,h,n,s
y=year(date())
m=month(date())
d=day(date())
h=hour(time())
n=minute(time())
s=second(time()) '当为是一位的 时候在前面加0
if len(m)=1 then m="0" & m
if len(d)=1 then d="0" & d
if len(h)=1 then h="0" & h
if len(n)=1 then n="0" & n
if len(s)=1 then s="0" & s
gettime=y&"/"&m&"/"&d &" " & h&":"& n&":"&s
end function%>

这是最重要的一个了。也很大。我的习惯不太好。没有加详细的注释,认真看吧。
#########send.asp##############
<html>
<head>
<meta content="text/html; charset=gb2312" http-equiv=content-type>
<meta http-equiv='pragma' content='no-cache'>
<link rel="shortcuticon" url="images/bluenote.ico">
<style type="text/css">
td{font-family: "宋体"; font-size: 9pt}
body { font-family: "宋体"; font-size: 9pt}
select { font-family: "宋体"; font-size: 9pt}
.p9{font-family:"宋体";font-size:9pt;line-height:130%; width:68px;}
a {cursor:hand;text-decoration:none; font-family: "宋体"; font-size: 9pt;}
input{font-size:9pt}
.an{background-color:ffffff;color:000000;border: 1 double}
</style>
<title>发言</title>
<script language=javascript>
var tmp0="$f对$t说:无表情$f向$t微微一笑:微笑$f笑嘻嘻地对$t说:嘻笑$f冲$t傻乎乎的笑笑:傻笑$f对$t娇笑着:娇笑$f对着$t哈哈大笑:大笑$f看着$t,心头一阵狂喜:狂喜$f冲着$t狂笑不已:狂笑$f对$t奸笑着:奸笑$f咯咯一笑,很大方地对$t说:大方$f紧紧地握住$t的手:握手$f向$t挥了挥手:挥手$f耸耸肩,两手一摊:$t,耸肩1$f无奈地耸耸肩:$t,耸肩2$f摸摸$t的头,细声安慰:安慰$f笑呵呵向$t一拱手:拱手$f很有礼貌地对$t作了一揖:作揖$f深深地鞠了一躬:$t,鞠躬$f不好意思地对$t说:歉意$f瞪大了眼睛,很讶异地看着$t:讶异$f大吃一惊:$t,惊讶$f茫然地看着$t:茫然$f一脸的迷茫:$t,迷茫$f颇感迷惑:$t,迷惑$f感到很是奇特:$t,奇特$f对$t潇洒地一甩头:潇洒$f惋惜地看着$t:惋惜$f对$t皱了皱眉:皱眉$f很遗憾地对$t说:遗憾$f大包大揽地向$t承诺:承诺$f抓抓头皮,还是不解:$t,不解$f提高嗓门,大声地对$t说:大声"
var tmp1="$f不解地问$t:询问$f向$t吐了吐舌头:吐舌$f非常自信地对$t说:自信$f向上天祈祷着,$t,祈祷$f向$t噘了噘嘴:噘嘴$f嘟着嘴对$t说:嘟嘴$f平静地对$t说:平静$f高兴地对$t说:高兴$f在$t耳边悄悄地说:耳语$f眯着小眼睛对$t说:眯眼$f眼波晶莹明亮地看着$t:眼亮$f幸福地看着$t:幸福$f很满足地对$t说:满足$f轻轻牵着$t的手,小声地说:牵手$f轻轻推了$t一下:轻推$f粘粘糊糊地向$t撒娇:撒娇$f对$t做了个鬼脸:鬼脸$f神秘兮兮地对$t说:神秘$f脸上泛起了红晕,低着头小声地对$t说:脸红$f低着头,玩弄着自己的手指,羞得满脸通红:$t,害羞$f小猫猫般地依偎在$t的怀中:依偎$f拍了拍$t那脏兮兮的小脸蛋:拍脸$f向$t抛去一个媚眼:媚眼$f恶狠狠地冲$t瞪着眼睛:瞪眼$f柔声地对$t说:柔声$f情意绵绵地望着$t说:深情$f温柔地抱住$t说:拥抱$f亲了亲$t的脸:亲亲$f恋恋不舍地拉着$t的衣角:不舍"
var tmp2="$f运足气一声断喝:$t!断喝$f幸灾乐祸地对$t说:幸灾$f露出无可奈何的表情:$t,无奈$f使劲敲敲自己脑门,看着$t:拍脑$f顾作沉思状:$t,沉思$f一付无辜的样子:$t,无辜1$f感到非常无辜,$t:无辜2$f感觉很不舒服:$t,不适$f打个大哈欠:$t,哈欠$f口吐白沫,晕倒在地:$t,白沫$f感到无聊极了:$t,无聊$f看着$t,快要吐了:想吐$f一脸无赖泼皮样子:$t,无赖$f歪着看着$t,二球劲十足:二球$f双眼盯着$t,奴才嘴脸十足:奴才$f委屈地对$t说:委屈$f大感沮丧:$t,沮丧$f望着窗外细雨淅淅,不由得双眼朦胧:$t,伤感$f悲伤地对$t说:悲伤$f泪水在眼框里打着转:$t,含泪$f看着$t,快要哭了:要哭$f低低抽泣着:$t,抽泣$f一把将$t抱住,哭哭涕涕:抱哭$f想到伤心处,泪流如注:$t,大哭$f抱头放声大哭:$t,痛哭$f号淘大哭:$t,大哭$f对$t露出失望的表情:失望$f用眼角斜视$t,满脸俱是轻蔑不屑之色:轻蔑$f生气地对$t说:生气"
var tmp3="$f向$t提出强烈抗议:抗议$f对$t大声叫嚷:叫嚷$f对$t气愤地嚷道气愤$f怨毒地看着$t:怨毒$f一把甩掉$t的手,恶恨恨地说:甩手$f目光尽赤,冲$t怒不可恶地狂吼:暴怒$f打了$t老大一个耳括子:耳光$f不客气地猛揍$t一拳:拳打$f一脚踢在$t的屁股上:脚踢$f向$t点头称是:点头称是$f兴高采烈地对$t说:兴高采烈$f惊慌失措地对$t说:惊慌失措$f幸灾乐祸地对$t说:幸灾乐祸$f眉飞色舞地对$t说:眉飞色舞$f阴阳怪气地对$t说:阴阳怪气$f哭天抢地地对$t说:哭天抢地$f牢骚满腹地对$t说:牢骚满腹$f理屈词穷地对$t说:理屈词穷$f江郎才尽地对$t说:江郎才尽$f凶神恶煞地对$t说:凶神恶煞$f眉歪眼斜地对$t说:眉歪眼斜$f目光凛然地对$t说:目光凛然$f声嘶力竭地对$t说:声嘶力竭$f意乱情迷地对$t说:意乱情迷$f脸色铁青地对$t说:脸色铁青$f失魂落魄地对$t说:失魂落魄$f目光呆滞地对$t说:目光呆滞$f正气凛然地对$t说:正气凛然"
var tmp4="$f手足无措地对$t说:手足无措$f无精打采地对$t说:无精打采$f依依不舍地对$t说:依依不舍$f拳打脚踢地对$t说:拳打脚踢$f不怀好意地对$t说:不怀好意$f毛手毛脚地对$t说:毛手毛脚$f得意洋洋地对$t说:得意洋洋$f慨叹万千地对$t说:慨叹万千"
var etmp=tmp0+tmp1+tmp2+tmp3+tmp4;
var ev=etmp.split("")
function wh(fn){
fn.open();
fn.writeln("<!--★请另存为html类型的文件★-->");
fn.writeln("<html><head><title>对话区</title><meta http-equiv=content-type content=\"text/html; charset=gb2312\">");
fn.writeln("<style type=text/css>.t{color:003366;font-size:9pt;}.pic{font-size:17pt;}body{font-family:\"宋体\";font-size:10.5pt;line-height:160%}a{text-decoration:none}a:hover{text-decoration:underline}a:visited{color:blue}</style></head><\script language=\"javascript1.1\">");
fn.writeln("var autoscrollon=1;var scrollonfunction;var scrollofffunction;");
fn.writeln("function scrollit(){ if(!parent.sd.ot.as.checked){autoscrollon=0;return true;}else{autoscrollon=1;startup();return true;}}function scrollwindow(){if(autoscrollon==1){this.scroll(0,65000);settimeout('scrollwindow()',200);}}function scrollon(){autoscrollon=1;scrollwindow();}function scrolloff(){autoscrollon=0;}function startup(){parent.onblur=scrollonfunction;parent.onfocus=scrollofffunction;scrollwindow();}");
fn.writeln("scrollonfunction=new function('scrollon()');");
fn.writeln("scrollofffunction=new function('scrolloff()');");
fn.writeln("startup();</\script>");return;
}
function write(){
wh(parent.pub.document);
parent.pub.document.writeln("<body text=#000000 bgcolor=#eeeeff >");
parent.pub.document.writeln("<div id=\"div0\"></div>◆<span style='color:#ff0088'>蓝蝶聊天室</span>
◆中心大厅<br>轻轻敲醒沉睡的心灵,慢慢张开你的眼睛,让那昨日的忧伤随聊而去!<hr size=1><div id=ly></ly>");
wh(parent.my.document);
var myd=parent.my.document;
myd.writeln("<body text=#000000 bgcolor=#eeeeff >");
myd.writeln("<div id=\"div0\"></div>◆<span style='color:#ff0088'>蓝蝶聊天室</span>◆温馨包厢<br>");
myd.writeln("<span style='color:#0000ff;font-size:9pt'>[这是您的个人包厢,只显示和您相关的发言!]</span><hr
size=1><div id=ly></div>");
}
</script>
<script language="vbscript">
function urlencoding(vstrin)
strreturn = ""
for i = 1 to len(vstrin)
thischr = mid(vstrin,i,1)
if abs(asc(thischr)) < &hff then
strreturn = strreturn & thischr
else
innercode = asc(thischr)
if innercode < 0 then
innercode = innercode + &h10000
end if
hight8 = (innercode and &hff00)\ &hff
low8 = innercode and &hff
strreturn = strreturn & "%" & hex(hight8) & "%" & hex(low8)
end if
next
urlencoding = strreturn
end function

function bytes2bstr(vin)
strreturn = ""
for i = 1 to lenb(vin)
thischarcode = ascb(midb(vin,i,1))
if thischarcode < &h80 then
strreturn = strreturn & chr(thischarcode)
else
nextcharcode = ascb(midb(vin,i+1,1))
strreturn = strreturn & chr(clng(thischarcode) * &h100 + cint(nextcharcode))
i = i + 1
end if
next
bytes2bstr = strreturn
end function
</script>
<script language="javascript">
var me="<%=session("u_name")%>";
<%if session("u_sx")="1" then %>
var msx="girl.gif";
<%else%>
var msx="boy.gif";
<%end if%>
var ts=new os();
function os()
{this.f="";
this.t="";
this.e="";
this.w="0";
this.sc="";
this.cl="";
this.send=sendmsg;
}
function checksays()
{if (document.say.says.value=="") {alert("你要说什么呢?");return false;}
var fm=document.say;
var sc=fm.says.value;
var f=me
var t=fm.t.options[0].value;
var e=document.ot.userface.selectedindex;
var w="0"
var cl=fm.says.style.color;
fm.says.value="";
fm.says.focus();
ts.f=f;
ts.t=t;
ts.e=e;
ts.sc=sc;
ts.cl=cl;
ts.w=w;
settimeout("ts.send();",20);
delete(f);delete(sc);delete(fm);delete(cl);delete(t);delete(e);
return false;
}
function sendmsg()
{ if (this.t=="" && this.f=="") {alert("你要对谁说?");return;}
crld=1;
var ss="f="+code(this.f)+"&t="+code(this.t)+"&sc="+code(this.sc)+"&cl="+this.cl+"&e="+this.e;
ss=urlencoding(ss)
var osend=new activexobject("microsoft.xmlhttp");
osend.open("post","say.asp",false);
osend.setrequestheader("content-length",ss.length);
osend.setrequestheader("content-type","application/x-www-form-urlencoded");//没有这句就玩不转拉
osend.send(ss);
var odom=new activexobject("microsoft.xmldom");
odom.async=false;
body=bytes2bstr(osend.responsebody);
// alert(body);
odom.loadxml(body);
if(odom.parseerror.errorcode != 0)
{ alert(body);
alert("sorry.出现了错误");
return }
else
{var aryf=odom.documentelement.selectnodes("f");
var aryt=odom.documentelement.selectnodes("t");
var arysc=odom.documentelement.selectnodes("sc");
var arycl=odom.documentelement.selectnodes("cl");
var arysj=odom.documentelement.selectnodes("sj");
var arye=odom.documentelement.selectnodes("e");
var tmphtml="";
var img="";
lengt=aryf.length;
for(var i=0;i<lengt;i++){
img="<img src=boy.gif width=12 height=12 border=0>";
tmphtml="<font style=\'cursor:hand;color:"+arycl(i).text+"\'>"+document.ot.userface.options[arye(i).text].value+rp2(arysc(i).text,
"{^amp]","&")+"</font> <span class=t>["+arysj(i).text+"]</span><br>";
tmphtml=rp2(tmphtml,"$f","<a href=\"javascript:parent.sd.towho('"+aryf(i).text+"');\">"+img+aryf(i).text+"</a>");
tmphtml=rp2(tmphtml,"$t","<a href=\"javascript:parent.sd.towho('"+aryt(i).text+"');\">"+aryt(i).text+"</a>");
if (aryf(i).text==me aryt(i).text==me)
{ parent.my.ly.innerhtml+=tmphtml;
} else
parent.pub.ly.innerhtml+=tmphtml;
}// end for
}
delete(aryf);delete(aryt);delete(arysc);delete(arycl);delete(arysj);delete(arye);
delete(odom)
delete(osend)
delete(tmphtml)
}
function code(str)
{var a = new regexp("'","gi")
var b = new regexp("\"","gi")
str = str.replace(/&/gi,"&")
str = str.replace(/</gi,"<")
str = str.replace(/>/gi,">")
str = str.replace(b,""")
str = str.replace(/&/gi,"{^amp]")
delete(a)
delete(b)
return(str)
}
function rp2(str,fs,is)
{while (str.indexof(fs)!=-1)
str = str.replace(fs,is)
delete(a);
return(str)
}

#############续send.asp#################

var ordom=new activexobject("microsoft.xmldom");
ordom.async=false;
var path="reload.asp";
var tcok;
function clock()
{crld++;
if (crld>10){crld=1;getxmldata();}
cleartimeout(tcok);
tcok=settimeout("clock()",1000);
}
function getxmldata() //这就是刷新用户xml数据的函数
{crld=1;
ordom.load(path)
if(ordom.parseerror.errorcode != 0)
{alert("sorry.出现了错误");
return }
else
{
var aryf=ordom.documentelement.selectnodes("f");
var aryt=ordom.documentelement.selectnodes("t");
var arysc=ordom.documentelement.selectnodes("sc");
var arycl=ordom.documentelement.selectnodes("cl");
var arysj=ordom.documentelement.selectnodes("sj");
var arye=ordom.documentelement.selectnodes("e");
var tmphtml="";
lengt=aryf.length;
for(var i=0;i<lengt;i++){
img="<img src=girl.gif width=12 height=12 border=0>";
tmphtml="<font style=\'cursor:hand;color:"+arycl(i).text+"\'>"+ev[arye(i).text*2]+rp2(arysc(i).text,"{^amp]","&")+"</font> <span class=t>["+arysj(i).text+"]</span><br>";
tmphtml=rp2(tmphtml,"$f","<a href=\"javascript:parent.sd.towho('"+aryf(i).text+"');\">"+img+aryf(i).text+"</a>");
tmphtml=rp2(tmphtml,"$t","<a href=\"javascript:parent.sd.towho('"+aryt(i).text+"');\">"+aryt(i).text+"</a>");
if (aryf(i).text==me aryt(i).text==me)
{ parent.my.ly.innerhtml+=tmphtml;
} else
parent.pub.ly.innerhtml+=tmphtml;
}
}
delete(aryf);delete(aryt);delete(arysc);delete(arycl);delete(arysj);
}
function towho(un){
document.say.t.options[0].value=un;
document.say.t.options[0].text=un;
document.say.says.focus();return;}
</script>
<base onmouseover="parent.window.status='欢迎光临 蓝蝶精品网 www.chinaok.net 站长.netnice qicq:6097356 ';return true;">
</head>
<body bgcolor="#76b4d9" topmargin="4" leftmargin="1" >
<table border="0" width="767" cellspacing="0" cellpadding="0" >
<tr><td width="735" height="16" align="left" nowrap>
<form method="post" action="save.asp" name="say" target="b" onsubmit='return(checksays());'>
<input type="hidden" name="oldsays" >
<input name="f" maxlength="10" size="10" value="<%=session("u_name")%>" readonly style="background-color: #76aadd; border-bottom: 0px double; border-left: 0px double; border-right: 0px double; border-top: 0px double; color: #ffffff; text-align: right">
对 <select name="t" onclick="this.options[0].value='大家'; document.say.t.options[0].text='大家'; document.say.says.focus();" >
<option value="大家" selected>大家</option>
</select> 说:<input type=text name="says" maxlength="150" size="50" style="background-color: #ffffff; border-bottom: 1px double; border-left: 1px double; border-right: 1px double; border-top: 1px double; color: #000000" accesskey="t" title="发表对话区(alt+t)可激活!" language="javascript ">
<input type="submit" name="send" value="发言" class="an" accesskey="s" onmouseover="this.style.color='3366dd'" onmouseout="this.style.color='663300'" title="(alt+s)">
</form></td></tr></table>
<div style="height: 80px; left: 15px; position: absolute; top: 30px; width: 600px">
<form name="ot">
<table border="0" width="600" cellspacing="0" cellpadding="0">
<tr>
<td width="160" height="16" align="center" nowrap valign="top">
<input accesskey="a" type="checkbox" name="as" checked onclick="parent.pub.scrollit();parent.my.scrollit();document.say.says.focus();"><a onclick=moveself(); title=" “激活/禁止”对话区自动滚屏(alt+a)!">滚屏</a>

</td>
<td width="230" height="16" align="left" nowrap valign="top"> <span title=" 改变你的发言的字体颜色(alt+f)!">
<select name=usercolor accesskey="f" onchange="document.say.says.style.color=this.options[this.selectedindex].value;">
<option selected style="color: #000000" value="000000">默认颜色</option>
<option style="color: #000000" value="#000000">黑色沉静</option>
<option style="color: #ff0000" value='#ff0000'>红色热情</option>
<option style="color: #0000ff" value='#0000ff'>蓝色开朗</option>
<option style="color: #ff00ff" value='#ff00ff'>桃色浪漫</option>
<option style="color: #009900" value='#009900'>绿色青春</option>
<option style="color: #009999" value='#009999'>青色清爽</option>
<option style="color: #990099" value='#990099'>紫色拘谨</option>
<option style="color: #990000" value='#990000'>暗夜兴奋</option>
<option style="color: #000099" value='#000099'>深蓝忧郁</option>
<option style="color: #999900" value='#999900'>卡其制服</option>
<option style="color: #ff9900" value='#ff9900'>镏金岁月</option>
<option style="color: #0099ff" value='#0099ff'>湖波荡漾</option>
<option style="color: #9900ff" value='#9900ff'>发亮蓝紫</option>
<option style="color: #ff0099" value='#ff0099'>爱的暗示</option>
<option style="color: #006600" value='#006600'>墨绿深沉</option>
<option style="color: #333333" value='#333333'>灰色轨迹</option>
<option style="color: #999999" value='#999999'>伦敦灰雾</option>
</select></span>
<span title=" 改变您的说话时的表情(alt+q)!" ><select accesskey="q" name=userface style="font-size: 9pt;width:65px" size="1">
<script language="javascript">
for(var if=0;if<ev.length;if+=2)
{document.writeln("<option value=\""+ev[if]+"\">"+ev[if+1]);
}
</script>
</select></span> <input type="checkbox" name="ws" id="ws" accesskey="m" ><a title=" 和聊友说句悄悄话(alt+m)!"><label for=ws >私聊</label></a> </td>
<td width="250" height="16" align="left" nowrap valign="top">
<input id=clock name=clock type=button value=1200 class="an" title="如果您长时间不发言(潜水),请注意:当计数器减至零时,您将被被踢出!" style="color:#ff3300;width:60;" disabled>
</td>
</tr>
</table> </form>
</div>
<script>
write();
getxmldata();
clock();
</script>
</body>
</html>

  


 


关键字 本文所属关键字

相关 与本文相关文章

分类 所有文章关键字导航

源码编程相关

Java   Asp   PHP   .Net   XML   C/C++   CGI   VB   Jsp   J2ee   J2se   J2me   EJB   Servlet   Tomcat   Resin   Struts   Weblogic   Eclipse   ANT   GUI   JMS   Web servise   IDEA   Webphere   Hibernate   Spring   Jboss   Applet   Swing   Socket   Javamail   Perl   Ajax   P2P   安全   模式   框架   测试   开源   游戏

SQL数据库相关

My-SQL   Ms-SQL   Access   DB2   Oracle   Sybase   SQLserver   索引   存储过程   加密   数据库   分页   视图  

手机无线相关

3G   Wap   CDMA   GRPS   GSM   IVR   彩信   短信   无线   增值业务

网页设计制作相关

HTML   CSS   网页配色   网页特效   Javascript   VBscript   Dreamweaver   Frontpage   JS   Web   网站设计

网站建设推广相关

建站经验   网站优化   网站排名   推广   Alexa

操作系统/服务器相关

Windows XP   Windows 2000   Windows 2003   Windows Me   Windows 9.x   Linux   UNIX   注册表   操作系统   服务器   应用服务器

图形图像多媒体相关

Photoshop   Fireworks   Flash   Coreldraw   Illustrator   Freehand   Photoimpact   多媒体   图形图像

标准 网站致力的规范

Valid CSS!

无不良内容,无不良广告,无恶意代码

Valid XHTML 1.0 Transitional

creativecommons