Hi I have a div with two background like this:
<div class="colCenter" style="height: 750px; top: -25px; width: 72%; left: 18%; background-image: url('img/sfondi/portfolio.jpg'), url('img/sfondi/servizi.jpg');background-position: 0px 0px, 0px -1440px;">
</div>
if after a click I try to animate it doesn't work why? here is my code:
$(".colCenter").on("click", function() {
$(".colCenter").animate({
'backgroundPositionY': '1440px 0px'
}, 1500, 'linear');
});
In animate I have already tried: 'background-position': '0 1440px, 0 0px'
and 'backgroundPositionY': '1440px, 0px'
I'm working in Firefox16 and more than a background in a div is supported