JQuery fadeOut callback doesn't trigger… Am I doing something wrong?

Are you wanting to animate the . Caption that you just faded? I would suspect not but this is what your function is doing.

Try changing.

Are you wanting to animate the . Caption that you just faded? I would suspect not but this is what your function is doing.

Try changing: $(this). Animate({ top:40 }); to $(this). Parents('li').

Animate({ top:40 }); I am assuming there is only one li above the caption here.

Ahh damn. Sometimes you just get so close to what you're writing you miss something stupid like that. For some reason I still thought the element in focus was already the li.

Thank you. – Henryz May 21 at 18:20 no worries - think I spotted it because I keep doing it! – lnrbob May 21 at 18:58.

. FadeOut( duration , callback ) callback: A function to call once the animation is complete. As you can see, the callback will be called when fadeOut is complete, which means that you can't see the element, then how could you see if the animate on its top property is working or not?

Maybe you should use console. Log("something") in the callback function to see if it is reachable.

I cant really gove you an answer,but what I can give you is a way to a solution, that is you have to find the anglde that you relate to or peaks your interest. A good paper is one that people get drawn into because it reaches them ln some way.As for me WW11 to me, I think of the holocaust and the effect it had on the survivors, their families and those who stood by and did nothing until it was too late.

Related Questions