You might be able to do something similar to the following: function fadeIn() { $(".myText").fadeIn("slow", function () { window.setTimeout("fadeOut();",5000); } }
function fadeOut() { $(".myText").fadeOut("slow"); } On Aug 6, 6:01 pm, "Dave Maharaj :: WidePixels.com" <d...@widepixels.com> wrote: > I was wondering how do you make text fade in for a specific amount of time > then fade out. > > I have the fade in / out part..i just cant figure out the duration so it > stays there after fading in for 5 seconds then fades out. > > Dave