Code :
$('#mappa-content').animate({ backgroundPosition: "0 -54px" }, 500);
the image in the background isn’t moving. Why? How can I fix it?
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
You can’t animate
background-positionout of the box.You can add support with a plugin (the site is down at the moment, so here’s a mirror).
You can animate
background-position-xandbackground-position-y, but those properties aren’t supported in for example Firefox/Opera.