You have to use a callback: $("a").click(function () { $("div").fadeIn(3000, function () { $("div").fadeOut(100); }); return false; }); Look it up in the jQuery documentation. It's quite simple to use. http://2whoa.com/dominate/
"[EMAIL PROTECTED]" <[EMAIL PROTECTED]> wrote: Hi, If you look at this page http://elearningrd.info/jrl/policies.php and click on each of the links next to the arrow graphics, you'll see the center text switches out. However, it is choppy. It seems that as one div is fading out, the other is fading in at the same time. This is the code I'm using function swapDivs(oldDivId, newDivId) { $("#" + oldDivId).fadeOut("slow"); $("#" + newDivId).fadeIn("slow"); } // swapDivs How can I make one div fade in only after the other div has completly faded out? Thanks, - Dave --------------------------------- Be a better friend, newshound, and know-it-all with Yahoo! Mobile. Try it now.