jquery mouseenter / mouseleave 要素のホバーで、ものが継続的にちらつく問題があります。それで、ちょっと動作しますが、ちらつきます。
これが私が持っているコードです(準備中):
myLinkElement.bind({
mouseenter: function (e) {
$(this).parent().removeClass("empty");
$(this).parent().addClass("waiting");
$(this).parent().find("#waitingText").html("hello");
myContainerOverlay.stop(true, true).fadeIn();
},
mouseleave: function (e) {
$(this).parent().addClass("empty");
$(this).parent().removeClass("waiting");
$(this).parent().find("#waitingText").html("");
myContainerOverlay.stop(true, true).fadeOut();
}
});
助言がありますか?