I created this code for animate background mouseover, but it does not work, only changes the background for the other but does not show effects when I use function animate
:
$(".b_header").mouseover(function() {
$(this).css("background-image","url(images/bot/head_down.png)");
/*
Also I've tried other effects and nothing
$(this).css( {backgroundPosition: "0 0"} );
$(this).animate(
{backgroundPosition:"(-20px -53px)"},
{duration:500});
*/
$(this).animate({ opacity: 5 }, 3000);
});