当前位置:编程学习 > asp >>

我自己写的聊天室源代码(十_1)

<%'************************刷新,上*****************************%>
<%'new.asp%>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312">
<title>刷新</title>
<meta name="GENERATOR" content="Microsoft FrontPage 3.0">
<meta name="Microsoft Theme" content="none, default">
<meta name="Microsoft Border" content="none">
<base target="contents">
<%if session("ss_nowflag") = 0 then%>
<script language="JavaScript"><!--
parent.location.href = "default.asp"
//--></script>
<%end if%>
<%if trim(request.form("b1")) <> "" then%>
<script language="JavaScript"><!--
parent.midleft.document.forms[0].acction.value = "0"
//-->
</script>
<%end if%>
<script
language="JavaScript"><!--
function refr()
{
parent.bottom.location.href = "new.asp";
return true;
}
function write1(text1)
{
parent.topleft.document.write("<br>" + text1);
parent.topleft.window.scrollTo(1,60000);
return true;
}
setTimeout("refr()",5000);
// --></script>
<%if request.form("b1") <> "" then
sc_www = cstr(request.form("who"))
%>
<script language="JavaScript"><!--
parent.midleft.location.href = "say.asp?name=<%response.write(sc_www)%>";
// --></script>
<%end if%>
</head>
<body>
<%
dim sc_what,sc_color,sc_who1,sc_who2,sc_flag,sc_bq
dim sc_point,sc_usernum,sc_message,sc_user,sc_user1(30,8),sc_userout,sc_userout1(30,6)
补充:asp教程,高级应用
CopyRight © 2022 站长资源库 编程知识问答 zzzyk.com All Rights Reserved
部分文章来自网络,