[thelist] Creating Divs on the fly

Arthur Noel arthur at arthurnoel.com
Thu Aug 10 10:52:03 CDT 2000


> Actually, in my experience, Netscape cannot do a document.write to an
> already rendered page.  Document.write can be called, but it can only
> write to a new window, not to an existing one that is already sitting
> in the browser.  The only way I know of to get a similar effect is to
> show and hide layers with content already in them, making it appear as
> though new content is being generated.  IE, of course can change the
> content of DIVs at will, but NN4 just can't--its a really annoying
> limitation.

In my experience NN4 can quite happily change the content of <div>s. As long
as they are absolutely positioned (and thus in the document.layers array)
you can document.write to the layer which does the same thing as IE's
innerHTML

A





More information about the thelist mailing list