progfrog
May 14th 2008, 12:22 pm
hi guys,
i'm trying to change the backgroung-image of an object using a reguler js function that i wrote-
this is the code, but for some reason , it doesn't work:
tli.style.background="background-image: url('images/p.jpg') no-repeat";
tli is an object taht contain some <p>that i would like to change her background , but the code i wrote doesn't work- Can u help me??
thanx a lot
progfrog
i'm trying to change the backgroung-image of an object using a reguler js function that i wrote-
this is the code, but for some reason , it doesn't work:
tli.style.background="background-image: url('images/p.jpg') no-repeat";
tli is an object taht contain some <p>that i would like to change her background , but the code i wrote doesn't work- Can u help me??
thanx a lot
progfrog