实现聊天室在线人员无刷新所需要的JavaScript技术 - 3
发布时间:2006-10-14 2:40:38   收集提供:gaoqian
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~```
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>

 
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50