So I just realized something interesting. This whole thing is done within a .mousemove(). The mouse move function will stop any existing animation and (re)start a new one. However, When the mouse is moving the animation stops even though the mousemove function has yet to be evoked. The mousemove function is only evoked once the mouse stops which would be acceptable if only the moving mouse didn't stop the animation for no explicit reason.
-Idan On Sep 20, 1:19 pm, Idan Waisman <[EMAIL PROTECTED]> wrote: > Hi. I have been looking for a bit and cannot find the answer to my > question so I thought I would post here. If there is some > documentation that I missed please just point me there. I am using the > latest jQuery version 1.4.1. > > Generally speaking I want to alter a currently running animation's > properties, but am having a difficult time figuring out how to do it. > I am attempting this because stopping the animation and creating new > one (during mouse moves over the governing div) is very choppy and I > was hoping this alternative might be smoother. > > When I try the following I get the empty string: > $(elemWithAnimation).queue() > so I can't seem to get a reference to the animation object. Truly, I'm > not even sure if that's the proper way to alter a running animation. > > Specifically, I am scrolling (animating the "left" property of) an > element underneath a div whose overflow is hidden so it looks like the > contents of the div are scrolling. I want to change the speed of the > scrolling animation in response to the position of the mouse on the > governing div. > > Can anyone provide any advice? Thanks! > > -Idan