Please Help.
I have a problem with the scrolling effect!
The effect works fine, but do not get what I wanted.
I think background-gradient ist the problem, but how do I make the same effect?!
The code is:
var EASE = 0.2;
$(function()
{
$(document).scroll(function()
{
$(‘#home’).css(‘background-position’,'0 '+($(document).scrollTop()*EASE)+‘px ‘);
$(’#beratung’).css(‘background-position’,'0 '+($(document).scrollTop()*EASE)+‘px ‘);
$(’#imagevideo’).css(‘background-position’,'0 '+($(document).scrollTop()*EASE)+'px ');
}
);
}
);