- JScript code
$("#left li").mouseover(function(){ $(this).css("background-image","url(./images/a9.gif) no-repeat"); }); $("#left li").mouseout(function(){ $(this).css("background-image","");
用firebug看了下,会执行,但是没有效果!为什么?不知道我这样写对吗?url的路径我也试了,应该不是路径的问题。
------解决方案--------------------
你可以看看firebug里面的dom熟悉什么的,看看是不是生效了,如果生效了,是不是位置的问题?