<HTML><BODY STYLE="font:10pt verdana; border:none;"><DIV>He is&nbsp;wrong anyway. In IE there is nothing like &lt;Layer&gt; tag except the &lt;IFRAME&gt;. There is some equivalency between</DIV> <DIV>layer in the NN and the IFrame in IE, but the tag is a tag, and it's known as HTML.</DIV> <DIV>Layer is analog to DIV but the logics of functioning are extremely different. Layer is a new NN document window layered inside, very much alike the &lt;input&gt;, while the div is same as nothin it's a simple container that does nothin(wery usefool indeed), non can consider a simple word or a letter inside document to be another page or the page within the page, because in IE you can manipulate and access a single letter of the page content and move it if you like all across the document. The guy has a problem with a write command, because it creates&nbsp;a new document instead of his aim to write inside the same document. The write method is window handeled, so it writes a new document no matter how you declare it. </DIV> <DIV>...</DIV> <DIV><BR></DIV> <BLOCKQUOTE style="PADDING-RIGHT: 0px; PADDING-LEFT: 5px; MARGIN-LEFT: 5px; BORDER-LEFT: #000000 2px solid; MARGIN-RIGHT: 0px"> <DIV style="FONT: 10pt Arial">----- Original Message -----</DIV> <DIV style="BACKGROUND: #e4e4e4; FONT: 10pt Arial; FONT-COLOR: black"><B>From:</B>&nbsp;Andrew Gibson</DIV> <DIV style="FONT: 10pt Arial"><B>Sent:</B>&nbsp;Wednesday, June 27, 2001 12:18 PM</DIV> <DIV style="FONT: 10pt Arial"><B>To:</B>&nbsp;javascript@LaTech.edu</DIV> <DIV style="FONT: 10pt Arial"><B>Subject:</B>&nbsp;RE: [Javascript] netscape: how to write to  <DIV>tag??</DIV> <DIV><BR></DIV>Well, I tend to think of if it as a page within a page in the same window.<BR><BR>ie<BR><BR>&lt;html&gt;<BR>&lt;!--other required tags in CSS to define the divs--&gt;<BR><BR>&lt;div id =div1&gt;Content1&lt;/div&gt;<BR>&lt;div id =div2&gt;Content2&lt;/div&gt;<BR>&lt;div id =div3&gt;Content3&lt;/div&gt;<BR>&lt;/html&gt;<BR><BR>Then using Javascript you can manipulate the divs, hide them, move them,<BR>write<BR>to them etc.<BR><BR>Andrew GIbson<BR><BR>&gt; Hi,<BR>&gt;&nbsp;&nbsp; So would i be correct in saying that a &lt;div&gt; tag is like a whole new<BR>&gt; window?<BR>&gt;<BR>&gt; -----Original Message-----<BR>&gt; From: javascript-admin@LaTech.edu [mailto:javascript-admin@LaTech.edu]On<BR>&gt; Behalf Of Peter-Paul Koch<BR>&gt; Sent: Wednesday, 27 June 2001 7:25 PM<BR>&gt; To: javascript@LaTech.edu<BR>&gt; Subject: RE: [Javascript] netscape: how to write to &lt;div&gt; tag??<BR>&gt;<BR>&gt;<BR>&gt;<BR>&gt; &gt;&nbsp;&nbsp;&nbsp; Is is possible to write to parts of the page (like the div<BR>&gt; tag) without<BR>&gt; &gt;clearing the page? If it is possible, is it possible to write<BR>&gt; HTML to that<BR>&gt; &gt;section of the page?<BR>&gt;<BR>&gt; Yes and yes. See<BR>&gt; http://www.xs4all.nl/~ppk/js/index.html?layerwrite.html for<BR>&gt; the script you need.<BR>&gt;<BR>&gt; As to the other question: Can you append something to a div, it<BR>&gt; is possible<BR>&gt; in IE and NN6 by doing<BR>&gt;<BR>&gt; innerHTML = innerHTML + '&lt;P&gt;The new stuff&lt;/P&gt;';<BR>&gt;<BR>&gt; As to Netscape 4, I'm not sure. Maybe it is when you leave out<BR>&gt; the close().<BR>&gt; Anyway, you could always store the content of the DIV and then append the<BR>&gt; new content to the storage, then reopen the DIV and write the new content<BR>&gt; into it.<BR>&gt;<BR>&gt; ppk<BR>&gt; _________________________________________________________________________<BR>&gt; Get Your Private, Free E-mail from MSN Hotmail at http://www.hotmail.com.<BR>&gt;<BR>&gt;<BR>&gt; _______________________________________________<BR>&gt; Javascript mailing list<BR>&gt; Javascript@LaTech.edu<BR>&gt; http://www.LaTech.edu/mailman/listinfo/javascript<BR>&gt;<BR>&gt;<BR>&gt; _______________________________________________<BR>&gt; Javascript mailing list<BR>&gt; Javascript@LaTech.edu<BR>&gt; http://www.LaTech.edu/mailman/listinfo/javascript<BR>&gt;<BR><BR><BR>_______________________________________________<BR>Javascript mailing list<BR>Javascript@LaTech.edu<BR>http://www.LaTech.edu/mailman/listinfo/javascript<BR></DIV></BLOCKQUOTE></BODY></HTML><DIV><BR><br clear=all><hr>Get Your Private, Free E-mail from MSN Hotmail at <a href="http://www.hotmail.com">http://www.hotmail.com</a>.<br></p></DIV>