adressing "nested" layers in script

wxdqz

New Member
Hi all,

how do i correctly adress a layer within another layer?
My Example:
layer id="topic" is in layer with the id="main"

for ns4 i tried:
rulerT = document.main.document.topic;

for ie i thought of:
rulerT = document.all.main.style.document.all.topic.style.;

and for DOM:
rulerT = parseInt(document.getElementById("topic").style);

but it doesn磘 work???
where is the mistake???

_drek
 
Back
Top