jQuery .animate easing issues -
i'm having trouble .animate function in jquery , mixing easing.
the following works;
$("#panelone").mouseover(function() { $("#paneltwo").stop(true, false).animate({ marginleft: "420px"}, 150 ); });
but doesn't;
$("#panelone").mouseover(function() { $("#paneltwo").stop(true, false).animate({ marginleft: "420px"}, 150, 'easeoutquint' ); });
i'm not sure i'm doing wrong, it's going blindingly obvious, i've never used easing or jqueryui before, i'm pretty lost!
edit: i'm referencing jqueryui here;
http://ajax.googleapis.com/ajax/libs/jqueryui/1.7.2/jquery-ui.js
your code seems work fine.
make sure you've download jquery-ui effect included. check under effects here: http://jqueryui.com/download/
Comments
Post a Comment