I can't give a link. It's on a localhost in production. Sorry. I think the problem with putting one callback in the other is that I need them to be simultaneous. Putting one callback in the other makes the one wait until the other has executed to begin.
On May 18, 5:54 pm, Emil Ivanov <[EMAIL PROTECTED]> wrote: > Wild guess: > Try by putting the fadeOut in the callback of the fadeIn... > > Give us some link, if possible, so we can see it... > > Regards, > Emil Ivanov > > On May 18, 11:57 pm, Pogo <[EMAIL PROTECTED]> wrote: > > > I have two divs that I'm swapping out, using a fade effect: > > > jQuery("#divPhotoAbove").fadeIn(1000); > > jQuery("#divPhotoBelow").fadeOut(1000, function() { > > //Swap the div IMGs and reset visibility values... > > > > jQuery("#divPhotoBelow").css("background-image","url('"+newSrc > > +"')"); > > jQuery("#divPhotoBelow").show(); > > jQuery("#divPhotoAbove").hide(); > > }); > > > But something is not working in IE 6/7. It's problematic in the > > fade. It suddenly jumps to the next one instead of fading well. It > > works great in Firefox. Any ideas? > > > I'm wondering if it has to do with not being able to test when BOTH > > events end. Ideally I'd like to run the callback function when both > > fadein and fadeout have ended??? Help???