fadeIn() after fadeOut()...timing question

fadeIn() after fadeOut()...timing question

Good morning
I have tried to find info in the docs for this but have had no luck.

I have a page with a number of links that when clicked, will fade out any open pop-ups, and fade in the pop-up for the link that was clicked.

How can I specify that the fadeIn should not start until the fadeOut is complete?