[Webdev] Images array on a Netscape Layer
Cathal Garvey
me at cgarvey.com
Fri Nov 10 11:14:29 GMT 2000
Can someone help me out here (save blood loss from my forehead and the cost
of a new monitor).
I have a layer in netscape (with the use of a div tag) and want to roolovers
on images within that layer. The layer is popped up/made visible when
clicking another image on the top document level. So to access the images on
the layer (as I understand it) I have to access the images array of the
layers document object (not the top level doc obj) - something like:
document.layers['layer1'].document.images['img1'].src
but that's undefined!! The images array exists for that layer doc obj but is
always empty. The links array works fine and I can access it as normal - as
i can access the other doc properties/methods (as much as the top doc
level). So how can I get at the images?!? They are not been added to the top
doc images array either - so where did they go!?!
Anyone any ideas?
TIA
.cg
More information about the Webdev
mailing list