2010-02-04 99 views

回答

0

jQuery的等价物是这样的:

$(function() { 
    $('#skip').hover(
    function() { $(this).attr('background', '#fc3 url(/files/theme/a-01.gif) no-repeat center bottom'); }, 
    function() { $(this).attr('background', ''); } 
); 
}); 

但是,如果纯CSS的解决方案并不在IE 6中工作,则可能是一些错误的布局。那么它将无助于改变显示元素的方法。