var d= $('#menu-top-menu').children();
d.hover(function(){
var e= $(this).position().left;
var f= $(this).parent().position().left;
var g= e-f;
$('#menu-top-menu').animate({backgroundPosition, g + "px 3px"});
console.log(g);
});
I dont know why it is not animating. could you give me some clue to solve the problem? Thanks