[jQuery] Re: .mouseover performance

2007-11-01 Thread Cloudream
Thanks a lot. ^^ On Oct 31, 7:51 pm, Wizzud [EMAIL PROTECTED] wrote: Use the hoverIntent plugin. Using mousemove fires far too many events for your animation to handle - the instant the mouse moves onto a span, an event fires and the underbar tries to move; move the mouse by 1px and the

[jQuery] Re: .mouseover performance

2007-11-01 Thread Cloudream
E... I wrote mouseMOVE before ... -.-||| sorry for puzzling On Oct 31, 7:51 pm, Wizzud [EMAIL PROTECTED] wrote: Use the hoverIntent plugin. Using mousemove fires far too many events for your animation to handle - the instant the mouse moves onto a span, an event fires and the underbar

[jQuery] Re: .mouseover performance

2007-11-01 Thread Tony
Insert .stop() before .animate(...) : $(div).stop().animate({ width: $(this).width(), marginLeft: $(this).offset().left } ,slow ); --Tony On 10月31日, 下午4�r32分, Cloudream [EMAIL PROTECTED] wrote: http://labs.cloudream.name/jquery/move.html

[jQuery] Re: .mouseover performance

2007-10-31 Thread Wizzud
Use the hoverIntent plugin. Using mousemove fires far too many events for your animation to handle - the instant the mouse moves onto a span, an event fires and the underbar tries to move; move the mouse by 1px and the event fires again, trying to move the underbar; etc, etc. If you were to start