像这样的东西:
$('li').mouseover(
function(){
$(this).css('background-image', 'url(hover.png) no-repeat top left');
},
function(){
$(this).css('background-image', 'url(normal.png) no-repeat top left');
}
);
Run Code Online (Sandbox Code Playgroud)