I am experiencing an issue with a parallax effect that is controlled by the following function:
var scaleBg = -$(window).scrollTop() / 3;
if (iOS === false) {
$('.payoff').css('background-position-y', scaleBg - 150);
$('.payoff2').css('background-position-y', scaleBg - 150);
$('.social').css('background-position-y', scaleBg + 200);
}
The problem I'm facing is that this does not work on Firefox because the background-position-y property is not supported. How can I resolve this issue for Firefox?