W3C home > Mailing lists > Public > www-html@w3.org > April 1998

netscape layers problem

From: LuG PaJ <LuGPaJ@TOP100.net>
Date: Tue, 21 Apr 1998 23:59:24 +0200
Message-ID: <353D16BC.D9297AFD@TOP100.net>
To: www-html@w3.org
hi
i just have a problem with the netscape layers.
i tried to have an image switch (for a button) and a text, which gets
displayed by
a netscape layer over the button!
well. i tried it, but i didn't got it yet.
i used a <ILAYER> to get the position of the button (for the layer)
-----------
Can any1 of you explain me, why it is not working,
that i can NOT access the source of the image?

here is the code which i used:

<ILAYER width=128 height=96 name="erst">
<LAYER name="ha" width=128 height=96>
<TABLE width=128 height=96><TR>
<TD align=middle align=center>Hi</TD></TR></TABLE>
</LAYER>
<IMG SRC="button1.jpg" name="haha">
</ILAYER>


now, how can i access the source of the image)?
i tried it by (javascript):
document.images[0].src
document.haha.src
document.erst.haha.src,
but no one worked!
hope you can i help me.
thanks a LOT, if you want to help and try this problem.
cya
patrick
Received on Tuesday, 21 April 1998 18:01:38 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Tuesday, 27 March 2012 18:15:36 GMT