2010-02-04 7 views

Répondre

0

L'équivalent jQuery ressemblerait à ceci:

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

Cependant, si la solution CSS simple ne fonctionne pas dans IE 6, alors il pourrait y avoir un problème avec la mise en page. Ensuite, il ne sera pas utile de changer la méthode d'affichage de l'élément.

Questions connexes