FadeIn Animation not waiting until callback
Please see the code below:
- $(document).ready(function() {
$('#flip_nav_aboutus').click(function () {
$('#flip_content div[display!="none"]').fadeOut('slow', function() {
$('#flip_content_aboutus').fadeIn('slow');
});
});
});
The fade out and fade in are occurring simultaneously even though the fade in is in the callback...
Any ideas?
Thanks,
Tom