Home Articles FAQs XREF Games Software Instant Books About Feedback Search Site-Map
irt.org logo

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

irt.org | Knowledge Base | DHTML | Q617 [ previous next ]

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

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>

Provide feedback ...
AddThis Social Bookmark Button

Provide feedback ... AddThis Social Bookmark Button


Last Updated: 6th July 2009. Maintained by: Martin Webb
irt.org liability, trademark, document use, privacy statement and software licensing rules apply.
Copyright © 1996-2009 irt.org, All Rights Reserved.