Page 1 of 1

TypeError: P.Eassing [this.asing] ist keine Funktion

Posted: 19 May 2025, 06:10
by Anonymous
Als ich versuche, ein DIV -Element mit JQuery anzuzeigen, habe ich diesen Fehler erhalten: < /p>

Code: Select all

[23:50:35.971] TypeError: p.easing[this.easing] is not a function @ file:///D:/html5%20puzzle/jquery.js:2
< /code>

Die relevante Funktion ist Folgendes: < /p>

function showWithAnimation(){
console.log('animation called');
$('#popup').show();
$("#popup").css({"top": "30%", "left": "30%"})
.animate({top:(($(window).height()/2)-($('#popup')
.outerHeight()/2))-70}, 1000, 'easeOutBounce')
.show();
}
< /code>

Die Funktion ist dafür verantwortlich, die DIV mit einer Bounce -Animation anzuzeigen. Der Div wird jedoch ohne Bounce -Effekt gezeigt.