I have a question, I'm developing my own LightBox with jQuery, and I call 2 function, animate and fadeIn and both of them work with the same element, fadeIn also with 2 elements more, but this isn't problem.
And fadeIn I call before animate and here is the issue, it starts animate this element by fadeIn and after it is done, start function animate. But in second part, I call it again, and the element, which I animate in both of them, can't animate by fadeIn because he is visible, so immediately start function animate.
In first call this function: #content animate by fadeIn and then change his size
In second call this function: #content is visible, so can't be animate by fadeIn, so while #overlay and #content_border is fading by fadeIn, #content is changing his size
Here is my question: In jQuery is some feature, which do this ^^, that one element can't be animated by two functions? For this example is this good feature, because I haven't call this function after other is done...