samedi 11 avril 2015

jQuery not working when adding ease property

I'm currently working on jQuery for animations in my website but the easing property is not working!


Here's the code:



$(window).load(function()
{
$('div').animate({'height': '10px'}, 2000, 'easeInOutQuad');
}
);


Unfortunaltly, for some reason, it seems that jQuery doesn't recognize the ease property of .animate(), showing me a lot of errors, but ONLY WHEN I PUT EASE property! Do I need to install something special? I only refers to jquery 1.11.2


Please help!





Aucun commentaire:

Enregistrer un commentaire