[jQuery] Re: Problems creating a simple "auto-expand" panel

2008-10-14 Thread Martin
Hi Remy, thanks a lot for your help. This seems to work a lot better than the initial version. Do you know if there is a way to work around the bug caused by .stop()? Because, now, if I move the mouse pointer across the panel several times (in a short time) the panel will show/hide several times.

[jQuery] Re: Problems creating a simple "auto-expand" panel

2008-10-13 Thread Remy Sharp
Hi Martin, The main cause of the problem is you're using the e.target as the starting selector on the effect. So when the mouseout event occurs the event's target can be different from what you're expecting. So the initial fix is to change $(e.target)... to $(this)... However, using the .stop(