实现聊天室在线人员无刷新所需要的JAVASCRIPT技术 - 3
类别: JavaScript教程
ASP精品屋 此只为实现无刷新的JavaScript客户端所需要的相似技术
具体要跟程序结合起来。
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~\'~~
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>
具体要跟程序结合起来。
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~\'~~
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>
-= 资 源 教 程 =-
文 章 搜 索