实现聊天室在线人员无刷新所需要的JavaScript技术 - 1

80酷酷网    80kuku.com

  ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~```
ASP精品屋 此只为实现无刷新的JavaScript客户端所需要的相似技术
具体要跟程序结合起来。 by 探索者
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~'~~
index.htm
<script>

    function renewlook()
    {
        list.document.open();
        list.document.close();
        list.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)
    {
        list.document.write(tempStr);
    }
</script>
<FRAMESET ROWS="*,60" FRAMEBORDER="0" BORDER="false">
<frameset cols="*,102" frameborder="auto" border="0" framespacing="0">
  <FRAME SRC="show.htm" scrolling="auto" name=list>
  <frame name="rightFrame" scrolling="AUTO" noresize src="about:blank">
</frameset>
  <frameset cols="0,1*" frameborder="NO" border="0" framespacing="0">
  <frame cols="0,0" name="hiddenframe" scrolling="NO" noresize src="about:blank">
  <FRAME SRC="o.htm" SCROLLING="no" name=talk>
  <frame cols="0,0" name="frshow" scrolling="NO" noresize src="about:blank">
</frameset>
</frameset><noframes>
</noframes>

分享到
  • 微信分享
  • 新浪微博
  • QQ好友
  • QQ空间
点击: