[jQuery] Re: animation only when mouseover

2009-10-02 Thread Macsig
Any ideas? THANKS On Sep 21, 12:47 pm, Macsig wrote: > Thanks, > it stops the animation but now there is an other issue. > Is there a way to keep the same speed for thescrolling? I mean if I > set the duration up and down and I go down just, let us say, for 1/3 > of the div when I scroll back u

[jQuery] Re: animation only when mouseover

2009-09-21 Thread Macsig
Thanks, it stops the animation but now there is an other issue. Is there a way to keep the same speed for the scrolling? I mean if I set the duration up and down and I go down just, let us say, for 1/3 of the div when I scroll back up the animation is 3 times slower since the duration is hardcoded

[jQuery] Re: animation only when mouseover

2009-09-21 Thread Robin Abony
Hello macsig! I haven't really had time to look into your problem, but after a quick look through the documentation i found this http://docs.jquery.com/Effects/stop#clearQueuegotoEnd Perhaps that could work for you? I imagine something along the lines of : $('#down_button').mouseover(function()