allinhands在上个帖子中说
引用:
1.新的发言怎们在最上面
2.怎们之前的发言也可以看到?
我也不知道啊?
代码:
<%
mytalk=trim(request.form("putword"

)
if (mytalk<>""

then
application.lock
application("show"

="<font color=0000ff size=4>" & request.cookies("cname"

& "</font>:" & "<font size=3>" & mytalk & "</font>" & "<br>" & application("show"

application.unlock
end if
%>
<html>
<link href="version2/font_version2.css" rel="stylesheet" type="text/css">
<style type="text/css">
<!--
body {
margin-left: 0px;
margin-top: 0px;
margin-right: 0px;
margin-bottom: 0px;
}
.style1 {font-weight: bold; font-size: 12px;}
body,td,th {
font-size: 12px;
}
-->
</style><head>
<script language="javascript">
window.ClearEvent=function(){event.cancelBubble=false;var sSrcTagName=event.srcElement.tagName.toLowerCase();
return (sSrcTagName=="textarea" || sSrcTagName=="input" || sSrcTagName=="select"

;}
window.ClearKey=function(){event.cancelBubble=false;var iKeyCode=event.keyCode;return !(iKeyCode==78 && event.ctrlKey);}
with (window.document){oncontextmenu=onselectstart=ondragstart=window.ClearEvent;onkeydown=window.ClearKey;}
</script>
<title>Mother Tongue Design Office Chat Room</title>
</head>
<body>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312">
<table width="800" height="101" border="0" cellpadding="0" cellspacing="0">
<!--DWLayoutTable-->
<tr>
<td width="22" height="29"> </td>
<td width="778" valign="top"><p>
<br><br></p>
</td>
</tr>
<tr>
<td height="72"> </td>
<td valign="top"> <%
=application("show"

%></td>
</tr>
</table>
<table width="800" border="0" cellpadding="0" cellspacing="0">
<!--DWLayoutTable-->
<tr>
<td width="800" height="26" valign="top"><br></td>
</tr>
</table>
</body>
</html>