Hi,
I've used DIV and Style positioning for handling layers.
I've made one layer surrounding all other layers making them nested.
<DIV id="layer1" style="positon..etc..etc"> here comes all other info and all other nested layers
</DIV>
The problem is:
I got a javascript function that opens a layer by its id; var lyr = (nestref)? eval 'document.'+nestref+'.document.'+id+'.document') : document.layers[id].document
Netscape complains that the document.layers[id].document doesnt have any properties..
If I take away the surrounding layer all works fine, but the reason for me to have it like this is that I can position the surrounding layer and all other layers follow it..
It's a bit fuzzy, but I really need help on this fast.. Has anyone else seen this kind of problem?
/umbro
I've used DIV and Style positioning for handling layers.
I've made one layer surrounding all other layers making them nested.
<DIV id="layer1" style="positon..etc..etc"> here comes all other info and all other nested layers
</DIV>
The problem is:
I got a javascript function that opens a layer by its id; var lyr = (nestref)? eval 'document.'+nestref+'.document.'+id+'.document') : document.layers[id].document
Netscape complains that the document.layers[id].document doesnt have any properties..
If I take away the surrounding layer all works fine, but the reason for me to have it like this is that I can position the surrounding layer and all other layers follow it..
It's a bit fuzzy, but I really need help on this fast.. Has anyone else seen this kind of problem?
/umbro