Added recursive document.write

This commit is contained in:
vidur%netscape.com 1998-07-25 01:13:23 +00:00
parent d6a3e2103a
commit 08e93c9190
2 changed files with 5 additions and 2 deletions

View File

@ -4,7 +4,7 @@
<ul>
<li>It has a couple of:
<ul>
<li>Images: <IMG SRC="http://zabadubop/layers/tests/mzcolor.gif"> and
<li>Images: <IMG SRC="http://zabadubop/layers/tests/mzcolor.gif" ID="foo"> and
<IMG SRC="http://peoplestage.netscape.com/kipp/nerdly_int.gif">.
<li>Links to <a href="http://home.netscape.com">Netscape</a> and
<A HREF="http://peoplestage.netscape.com/kipp">Kippy's Home Page</A>.

View File

@ -3,7 +3,10 @@
<P>This is text in the document.</P>
<SCRIPT>
document.writeln("<P>This is text generated by a document.write.");
document.writeln("And this is an image: <IMG SRC='resource:/res/gear1.gif'></P>");
document.writeln("And this is an image: <IMG SRC='http://zabadubop/layers/tests/mzcolor.gif'></P>");
</SCRIPT>
And now some more text in the document.
<SCRIPT>
document.writeln("<SCRIPT>\ndocument.writeln('Text from a recursive document.write.');</SCRIPT>");
</SCRIPT>
</BODY>