Al intentar mostrar un elemento div con jQuery, recibí este error:
[23:50:35.971] TypeError: p.easing[this.easing] is not a function @ file:///D:/html5%20puzzle/jquery.js:2
La función relevante es esta:
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();
}
La función se encarga de mostrar el div con una animación de rebote, sin embargo, el div se muestra pero sin efecto de rebote.
EDITAR:
Estoy incluyendo las bibliotecas jQuery y jQueryUI de un CDN como este (en orden):
<script src='http://ajax.googleapis.com/ajax/libs/jquery/1.4.2/jquery.min.js'></script>
<script src='http://ajax.googleapis.com/ajax/libs/jqueryui/1.8.5/jquery-ui.min.js'>
</script>
<script src='http://ajax.googleapis.com/ajax/libs/jqueryui/1.8.5/jquery-ui.min.js'></script>¿Es este? ¿O debo incluir otro archivo?