JavaScript technology needed to realize no refresh for chat room online personnel

Source: Internet
Author: User
Tags eval implement
Chat Room | refresh | no refresh | online chat room online No flash required for JavaScript technology-1

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~```
ASP Boutique This is only a similar technique needed to implement a JavaScript client without refreshing
specifically to be combined with the program. by seeker
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~'~~
Index.htm
<script>

function Renewlook ()
{
List.document.open ();
List.document.close ();
List.document.write ("<HTML><HEAD><TITLE> chat room </title><style type=text/css>body, form , TD, input,
Select, textarea {font:9pt arial, Arial; S</style>}
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>



Implement JavaScript technology for chat room online without refreshing-2


~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~```
ASP Boutique This is only a similar technique needed to implement a JavaScript client without refreshing
specifically to be combined with the program. by seeker
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~'~~
O.htm

<script>
var n;
n=2;
Top.renewlook ();
Top.writestr ("<div id=div0 name=div0>dkeoo3</div><div id=div1 name=div1>222222222</div>");
Opener.t11.innerhtml= "<font onclick=javascript:opener.writestr (' Ddds ');>ddd</font>";
Top.writestr (' Write 1 ');
Top.writestr (' Write 2 ');
Top.writestr (' Write 3 ');
var i=0;
function Showsss ()
{
Top.list.eval (' div ' + i). style.display= ' block ';
Eval ("Top.list.") + "div" +i+ ". style.display= ' block ';");
I=i+1
if (i>=n)
{
i=0;
Top.list.div0.style.display= ' None ';
}
Else
{
Eval ("Top.list.") + "div" +i+ ". style.display= ' None ';");
}
SetTimeout ("Showsss ();", 900);
}
Showsss ();
</script>
<font onclick= "javascript:top.writeStr (' <div name=div ' +n+ ', Id=div ', ' +n+ ' </div> ' +n+ ');" n=n+1; " >
Ddd
</font>
<font color=ff0000 onclick= "top.list.div5.style.display= ' none ';" >o.htm</font>
<font color=ff0000 onclick= "top.list.div5.style.display= ' block"; >o.htm</font>
Dddddddddddddddddd





Implement JavaScript technology for chat room online without refreshing-3


~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~```
ASP Boutique This is only a similar technique needed to implement a JavaScript client without refreshing
specifically to be combined with the program. by seeker
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~'~~
Show.htm

<div Name=div0 id=div0></div>
<div name=t11 id=t11><table>
<tr><td> Testing </td></tr></table>
</div>
<script>

function Renewlook ()
{
Document.open ();
Document.close ();
document.write ("<HTML><HEAD><TITLE> chat room </title><style type=text/css>body, form, TD, Input
Select, textarea {font:9pt arial, Arial; S</style>}
function Writestr (TEMPSTR)
{
document.write (TEMPSTR);
}

T11.style.display= "None";
t11.style.display= "Block";
T11.onclick= "Window.close ();d ocument.write (' DD ');";
Writestr ("<font style= ' Cursor:hand ' onclick=t11.style.display= ' block ';> show </font>");
</script>



Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.