Problème avec mon animation

Par workfel, il y a 14 ans


Bonsoir a tous!!
Voila j'ai un problème avec mon animation.
Voici le code:

jQuery(function($)
    {
    $("#img_Follow ul li a").mouseover(function()
        {
        $(this).find("img").animate({ top:"-5px"});
        alert('toto');
        });
    });

Donc on mouseover mon animation ne se fait pas mais par contre je recois bien mon alert, donc je comprend pas pourquoi cela marche pas. Jquery et bien appeler car si je fait d'autres evènement ben cela marche...
Mystère!!

Merci,

Merci Grafikart c'était bien position absolute que j'avais pas mis ;) !!

1 réponse

Grafikart, il y a 14 ans

Ton img est bien en position absolute ?
Si oui tente de mettre top:-5 seulement