[jQuery] Re: Problem with animation on mouseover/mouseout!

2007-08-14 Thread Nazgulled
Anyone? :'( On Aug 13, 5:21 pm, Nazgulled [EMAIL PROTECTED] wrote: I used the stop() method just before the animate() one and it works (in both events) , sort of, like I want... Let's say the animations are 5000ms, both mouse over and mouse out. I move the mouse over and let the animation go

[jQuery] Re: Problem with animation on mouseover/mouseout!

2007-08-13 Thread Nazgulled
I used the stop() method just before the animate() one and it works (in both events) , sort of, like I want... Let's say the animations are 5000ms, both mouse over and mouse out. I move the mouse over and let the animation go for 2500ms and then move the mouse out. The mouse over animation will

[jQuery] Re: Problem with animation on mouseover/mouseout!

2007-08-12 Thread Nazgulled
I understand :/ Can anyone else help me out? On Aug 12, 6:22 am, Ganeshji Marwaha [EMAIL PROTECTED] wrote: Nazgulled, I understand exactly what u are after. They key to the solution is interface animation's stop() method. I guess it will take some work to get this done, and i sincerely

[jQuery] Re: Problem with animation on mouseover/mouseout!

2007-08-11 Thread Nazgulled
Can anyone help me with this? On Aug 10, 8:06 pm, Nazgulled [EMAIL PROTECTED] wrote: It doesn't really work as expected. Let's say you increase the time it takes to do the animation (it's easier to see the problem). You move the mouse over, then out and then back over, all this while the

[jQuery] Re: Problem with animation on mouseover/mouseout!

2007-08-11 Thread Ganeshji Marwaha
Hi, the demo that is posted was just a way to approach that problem... As i mentioned already, you can use the hoverIntent plugin to approach it as well... If you are fine to use interface plugin, then you can use interface's animate() method, coz, that allows you to stop animation in between...

[jQuery] Re: Problem with animation on mouseover/mouseout!

2007-08-11 Thread Nazgulled
The hoverintent plugin won't help, because the hover event will only take place after a while when the user hovers the mouse and I can't have that, I need the event to be fired just when the mouse is over, so that plugin is out. And I though you already knew that I'm using animate() method from

[jQuery] Re: Problem with animation on mouseover/mouseout!

2007-08-11 Thread Ganeshji Marwaha
Nazgulled, I understand exactly what u are after. They key to the solution is interface animation's stop() method. I guess it will take some work to get this done, and i sincerely can't squeeze in enough time to ponder around for a solution. So, i would leave this for other jquery experts here,

[jQuery] Re: Problem with animation on mouseover/mouseout!

2007-08-10 Thread Nazgulled
It doesn't really work as expected. Let's say you increase the time it takes to do the animation (it's easier to see the problem). You move the mouse over, then out and then back over, all this while the first mouse over animation is being executed. You'll notice that the mouse out animation will

[jQuery] Re: Problem with animation on mouseover/mouseout!

2007-08-10 Thread Nazgulled
I think I understood what you said, but I just can't find a way to code it... Coud you provide me with a simple example on how to do it? Let's say I have the following code: $(a#testlink).mouseover(function() { $(div#testbox).animate({ color: '#00' }, 1000); });

[jQuery] Re: Problem with animation on mouseover/mouseout!

2007-08-10 Thread Ganeshji Marwaha
I have put together a demo. http://www.gmarwaha.com/test/other/testHoverAnchorInAndOutFast.html Have fun, and lemme know if this works for u. -GTG On 8/10/07, Nazgulled [EMAIL PROTECTED] wrote: I think I understood what you said, but I just can't find a way to code it... Coud you provide

[jQuery] Re: Problem with animation on mouseover/mouseout!

2007-08-09 Thread Ganeshji Marwaha
there are several ways you can solve this problem... Let me try and guide u through a couple 1. There is a plugin called hover intenthttp://cherne.net/brian/resources/jquery.hoverIntent.html. The primary purpose of this plugin is to stop these kind of actions on unintentional hovers. So, you can