Firefox doesn’t support backgroundPositionX, but it does support background position
So we can do something like this:
psy.style.backgroundPosition = x+'px 0';
This sets the background position, X first, then Y.
Working example here
Firefox doesn’t support backgroundPositionX, but it does support background position
So we can do something like this:
psy.style.backgroundPosition = x+'px 0';
This sets the background position, X first, then Y.
Working example here