You don't have any chain to continue with after the attr() call!
You might try this instead ...

$('#image_holder').fadeOut(
    "slow"
  , function(){
      $('#myImage').attr('src',imageid[activeImage]);
      $('#image_holder').fadeIn("normal");
    }
  );



juliandormon wrote:
> 
> Thanks for your help. Here's what I'd like to do:
> 
> Fade image out, then swap it's src, then fade the new image back in.
> 
> I can't seem to continue the chain after I swap the image for some - no
> errors either.
> 
> 
> Here's my code:
> $('#image_holder').fadeOut("slow",
> function(){$('#myImage').attr('src',imageid[activeImage],
> function(){$('#image_holder').fadeIn("normal")} );});
> 

-- 
View this message in context: 
http://www.nabble.com/Chaining-doesn%27t-work-tf3189472s15494.html#a10707093
Sent from the JQuery mailing list archive at Nabble.com.

Reply via email to