how to reference this layer

wxdqz

New Member
This is basically the code I have:

<ilayer name="ns4master" width=132 height=131 clip="0,0,133,131" z-index=2>
<layer name="ns4skin" width=132 height=131 left=0 top=0 z-index=5 background="images/java/scroll/scroller_skin.gif" visibility=show>
<layer name="ns4viewArea" width=112 height=125 left=3 top=3 z-index=5 clip="0,0,112,125" visibility=show>
<layer name="ns4contents" width=133 left=0 top=131 z-index=5 visibility=show bgcolor="#0000ff">
</layer>
</layer>
</layer>
</ilayer>

I tried:
textArea = document.layers['ns4master'].document.layers['ns4skin'].document.layers['ns4viewArea'].document.layers['ns4contents'];

but it doesn't work. Any ideas here? FYI, it has to work in ns4, that's why I'm using <ilayer> and <layer>

Havik
 
Back
Top