JQuery hover problem

Posted by tim on Stack Overflow See other posts from Stack Overflow or by tim
Published on 2010-03-19T11:02:30Z Indexed on 2010/03/19 11:11 UTC
Read the original article Hit count: 488

Filed under:
|

Hello,

Im using jquery hover method to call a function as follows

$(<some_element>).hover(function(){animate("next",true);},function(){});

But,the animate function is called only when the mouse enters the element. I want it to keep getting called as long as the mouse is over the element also.

Any way to achieve this ?

Thank You.

© Stack Overflow or respective owner

Related posts about jQuery

Related posts about JavaScript