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

Popular posts from this blog

jquery - How can I dynamically add a browser tab? -

node.js - Getting the socket id,user id pair of a logged in user(s) -

keyboard - C++ GetAsyncKeyState alternative -