voilà comment j'utilise jQuery hovervol stationnaire jQuery après le changement DOM
vol stationnaire (handlerIn (eventObject), handlerOut (eventObject))
$(".box").each(function() {
var $this = $(this);
$this.data('baseColor', $this.css('background-color'));
$this.hover(function() {
$this.animate({
backgroundColor : "white"
}, 50);
}, function() {
$this.animate({
backgroundColor : $this.data('baseColor')
}, 50);
});
});
Le problème est quand DOM change le vol stationnaire l'effet ne fonctionne plus. Je sais la vivre la méthode résolu de tels problèmes plusieurs fois pour moi mais comment puis-je le résoudre dans ce cas?
Vérifiez ma réponse, j'identifie le problème et je vous relie également à un script qui pourrait vous aider à réaliser votre animation. – Khez