Home Articles FAQs XREF Games Software Instant Books BBS About FOLDOC RFCs Feedback Sitemap
irt.Org
#

Q617 How can I write into a nested Layer in Netscape?

You are here: irt.org | FAQ | DHTML | Q617 [ previous next ]

Try:

<head>
<script language="JavaScript"><!--
function test() {
    document.layers['First'].document.layers['Second'].document.open();
    document.layers['First'].document.layers['Second'].document.write('xxxx');
    document.layers['First'].document.layers['Second'].document.close();
}
//--></script>
</head>

<body onLoad="test()">

<layer id="First">
  <layer id="Second">
  yyyy
  </layer>
<layer>

</body>

©2018 Martin Webb