Archive of UserLand's first discussion group, started October 5, 1998.

Re: Ann: FrontierChat 01.a

Author:Andrew Wooldridge
Posted:1/20/2000; 9:41:24 AM
Topic:Ann: FrontierChat 01.a
Msg #:14648 (In response to 14639)
Prev/Next:14647 / 14649

I know that 5th generation browsers like IE5 and NS5 have/will have the ability to dynamically change anything in a browser window via javascript calls to the DOM. So for instance you could create a div tag with some special ID and via javascript change the contents of that div tag at any time. So all you need is a setTimeout to call whatever function you need from frontier then refresh that div via something like this:

in HTML:

some chat messages

in Javascript:

newmessage = document.createTextNode("this is the new message");

foo = document.getElementById("thatdiv");

foo.appendChild(newmessage);

and dynamically this will make the new message appear inside the div.


There are responses to this message:


This page was archived on 6/13/2001; 4:54:10 PM.

© Copyright 1998-2001 UserLand Software, Inc.