General discussion

layers and current browsers

I am a web developer. I was working on layers a couple of years ago and they seemed to working good. I had some examples and created a few versions using layers myself, like moving over a layer and having color change or size change. Recently I went back to my layers examples because I thought my may have a use for layers on a web site I am working on. I tried my old examples and nothing works. I was using Netscape 7.1, realizing IE doesn't support layers. I wonder you the newer Ver. of Netscape just doesn't support layers anymore?
I tried going back to basics and I just can't make any layer do anything. Like changing size or color of a
Layer like the following 2 lines: layer.document.layers["eventchoice1"].left ='38';
or
document.layers["eventchoice1"].bgColor ='#00ff33';

Using a function call in a link for instance.
<LAYER id="eventchoice1" NAME="eventchoice1" bgcolor="red" height=19 width="100" LEFT=3 TOP=10 clip="125, 19" onMouseOver="lchange()">
<A HREF="somesite.com"> hello layer is then working</a> </LAYER>
Where the Javascript function call lchange() contains the above size and color value change lines. Java script is in the head in the script tag.
I then also try external CSS file and no dice.

I am a web designer with a 4 year decree. I realize the smallest error or conflicting variables can make it just not work, but I tried everything. It is only a simple script.

Any suggestions? Or suggestions on where to get good references. But a solution to my problem would be great.
Anyone.

Discussion is locked

Follow
Reply to: layers and current browsers
PLEASE NOTE: Do not post advertisements, offensive materials, profanity, or personal attacks. Please remember to be considerate of other members. If you are new to the CNET Forums, please read our CNET Forums FAQ. All submitted content is subject to our Terms of Use.
Reporting: layers and current browsers
This post has been flagged and will be reviewed by our staff. Thank you for helping us maintain CNET's great community.
Sorry, there was a problem flagging this post. Please try again now or at a later time.
If you believe this post is offensive or violates the CNET Forums' Usage policies, you can report it below (this will not automatically remove the post). Once reported, our moderators will be notified and the post will be reviewed.
Comments

CNET Forums

Forum Info