DIV CSS 佈局教程網

 DIV+CSS佈局教程網 >> 網頁腳本 >> JavaScript入門知識 >> AJAX入門 >> AJAX詳解 >> XMLHTTP+Javascript+Asp寫得聊天室,無刷新實現(2)
XMLHTTP+Javascript+Asp寫得聊天室,無刷新實現(2)
編輯:AJAX詳解     
################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>
XML學習教程| jQuery入門知識| AJAX入門| Dreamweaver教程| Fireworks入門知識| SEO技巧| SEO優化集錦|
Copyright © DIV+CSS佈局教程網 All Rights Reserved