mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-10-09 19:35:51 +00:00
Added recursive document.write
This commit is contained in:
parent
d6a3e2103a
commit
08e93c9190
@ -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>.
|
||||
|
@ -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>
|
Loading…
Reference in New Issue
Block a user