View Full Version : Fading in lines of text then link

12-06-2010, 03:57 PM
Hi everyone,
I want to fade in 5 lines of text one after the other. Each line is one or two words. Is that possible with Javascript? Also, I want the them link to different sites once they are done fading in. Is that possible too?

Thanks for your help.

12-06-2010, 09:00 PM
you should look into jQuery (http://www.jquery.com). The .show() (http://api.jquery.com/show/) function can handle the fading-in.

It would probably work out best to have them already written as hyperlinks, but if you wanted that to happen only after they're shown, you could use something like .html() (http://api.jquery.com/html/) to replace the original text with hyperlinked text. It might "jump" a little, though.

12-07-2010, 01:01 AM
I will try it. Thanks