<HTML><BODY STYLE="font:10pt verdana; border:none;"><DIV>He is wrong anyway. In IE there is nothing like <Layer> tag except the <IFRAME>. 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 <input>, 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 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> Andrew Gibson</DIV> <DIV style="FONT: 10pt Arial"><B>Sent:</B> Wednesday, June 27, 2001 12:18 PM</DIV> <DIV style="FONT: 10pt Arial"><B>To:</B> javascript@LaTech.edu</DIV> <DIV style="FONT: 10pt Arial"><B>Subject:</B> 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><html><BR><!--other required tags in CSS to define the divs--><BR><BR><div id =div1>Content1</div><BR><div id =div2>Content2</div><BR><div id =div3>Content3</div><BR></html><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>> Hi,<BR>> So would i be correct in saying that a <div> tag is like a whole new<BR>> window?<BR>><BR>> -----Original Message-----<BR>> From: javascript-admin@LaTech.edu [mailto:javascript-admin@LaTech.edu]On<BR>> Behalf Of Peter-Paul Koch<BR>> Sent: Wednesday, 27 June 2001 7:25 PM<BR>> To: javascript@LaTech.edu<BR>> Subject: RE: [Javascript] netscape: how to write to <div> tag??<BR>><BR>><BR>><BR>> > Is is possible to write to parts of the page (like the div<BR>> tag) without<BR>> >clearing the page? If it is possible, is it possible to write<BR>> HTML to that<BR>> >section of the page?<BR>><BR>> Yes and yes. See<BR>> http://www.xs4all.nl/~ppk/js/index.html?layerwrite.html for<BR>> the script you need.<BR>><BR>> As to the other question: Can you append something to a div, it<BR>> is possible<BR>> in IE and NN6 by doing<BR>><BR>> innerHTML = innerHTML + '<P>The new stuff</P>';<BR>><BR>> As to Netscape 4, I'm not sure. Maybe it is when you leave out<BR>> the close().<BR>> Anyway, you could always store the content of the DIV and then append the<BR>> new content to the storage, then reopen the DIV and write the new content<BR>> into it.<BR>><BR>> ppk<BR>> _________________________________________________________________________<BR>> Get Your Private, Free E-mail from MSN Hotmail at http://www.hotmail.com.<BR>><BR>><BR>> _______________________________________________<BR>> Javascript mailing list<BR>> Javascript@LaTech.edu<BR>> http://www.LaTech.edu/mailman/listinfo/javascript<BR>><BR>><BR>> _______________________________________________<BR>> Javascript mailing list<BR>> Javascript@LaTech.edu<BR>> http://www.LaTech.edu/mailman/listinfo/javascript<BR>><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>