I seem to be at a loss

I'm trying to run this code right here:

$("#image img").fadeTo(500,0,function() {
        $("#image img").attr({src : imgSrcNext});
}).fadeTo(500, 1);

but in firefox 3, I see the fade away and the fade back, and THEN
firefox decides to switch the img source to the new image. It doesn't
wait before firing the callback. I don't understand what could be
causing this anomoly.

Just go to this page and you'll see what I mean.
http://sandbox.exit42design.com/photography/folio_1.html

Any idea what could be going on?

Thanks,

-David

Reply via email to