Hi there,

is there any possibility to change background-images of a div or a layer in Netscape 4.75 by means of javascript?

The problem is the following:

I manage to change the background of a layer (is it possible for divs too??) but the problem is, that I am not able to turn background-repeat = "no-repeat". This is a style - function and I put the style for the layer and for the div. But when I change the background dynamically, it seems to have no effect.....

What I do is the following:

I have a Java-Script file containing the following lines in one function:

document.menuImage.background.src=$img.src;

in the html - file I have declared the following layer-object:

<layer height="42" id="menuImage" style="background-repeat:no-repeat;"></layer>

the image changes properly, but the background-repeat is one.

Does someone know why? I would really be very grateful

Thx
Yours
Jeb