实现聊天室在线人员无刷新所需要的JavaScript技术 - 3
文章类别:
asp | 发表日期:2008-10-5 20:53:11
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~```
ASP精品屋 此只为实现无刷新的JavaScript客户端所需要的相似技术
具体要跟程序结合起来。 by 探索者
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~'~~
show.htm
<div name=div0 id=div0></div>
<div name=t11 id=t11><table>
<tr><td>测试</td></tr></table>
</div>
<script>
function renewlook()
{
document.open();
document.close();
document.write("<HTML><HEAD><TITLE>聊天室</TITLE><style type=text/css>body, form, td, input,
select, textarea {font: 9pt 宋体,Arial;}s</style></HEAD><body bgcolor=ffffff>");
}
function writeStr(tempStr)
{
document.write(tempStr);
}
t11.style.display="none";
t11.style.display="block";
//t11.onclick="window.close();document.write('dd');";
writeStr("<font style='cursor:hand' onclick=t11.style.display='block';>显示</font>");
</script>