Anim Text Applet



Author: Suresh Srinivasan


Notes: text - The string to animate type - "wave", "blink" or "random" (default wave) bgColor - Background color in r:g:b format or name, e.g., blue fgColor - Foreground color (default black) font - "Courier", "TimesRoman", "Helvetica" or "Dialog" (default TimesRoman) style - PLAIN, BOLD or ITALIC (default PLAIN) step - Increments in font size at each iteration (default 2) naptime - Time in millisecs between updates (default 100ms) min - Smallest font size (default is 8) max - Largest font size (default is 28) align - "center", "left" or "right"


This applet lets you animate text in three different ways. To add this applet to your page, follow the directions below.


1. Download AnimText.class and load it in your home page directory.

2. Copy and paste the html code below on your page.

3. Make necessary changes to html code.


<applet codebase="Your page directory here" code="AnimText.class" width="400" height="75"> <param name=text value="The Java Shoppe"> <param name=type value=random> <param name=bgcolor value=0:0:0> <param name=fgcolor value=white> <param name=style value=bold> <param name=min value=14> <param name=max value=48> </applet>


Back to the Applets!