"Text Fader" JavaScript fades the text you want from a start color to end color.

The script is very easy to use. The script has a HEAD section that must be placed in the <HEAD> section of your page. When you want to fade a text say "Text Fader JavaScript by Premshree Pillai!", you must call the function wherever you want the text to appear like this :

The result of using the above code will be :



The arguments involved in the TextFade() function :

TF_text : The text to be faded.
TF_font : The text font.
TF_fontSize : Text Font Size.
TF_isBold : 'true' if you want bold else 'false'.
TF_isItalic : 'true' if you want italics else 'false'.
intColor : The color to fade from.
finalColor : The color to fade to.

View the to understand how the TextFade() function is called.

Many times it may happen that, the text does not fade correctly; in such situations try different colors. Also, it is better to keep the text short.
© 2002 .