Javascript / CSS question

Retro2001

Senior member
Jun 20, 2000
767
0
0
Need a little help with some Javascript / CSS goodness. There is a CSS atribute, background-position The syntax is background-position: 5px 10px; (to move the image right five pixels and down 10. I need to have a javascript change the x value, but I can't seem to make JS properly deal with the two separate variables. Any ideas?

Peace,
will