Make your own free website on Tripod.com
internet.com logo To JavaBoutique Home

 Java News
 Latest Applets
 Applet Categories
 Applet Index
 Applet Help
 Submit Applets
 Other Resources
 How-To Java
 Java Reviews
 Java FAQs
 Java Forum
 Java IDEs
To Webdeveloper.com
 Mecklermedia
 Internet.com
 Magazines
 Trade Shows
 Advertise
 Corporate
 Information
 Search
 Subscribe

webreference.com

Search Engine Watch

The JavaScript Source

EarthTour - Win an IBM ThinkPad EarthTour - Win an IBM ThinkPad EarthTour - Win an IBM ThinkPad

AnimText.java



Usage: Place AnimText.class within your HTML directory.

Java Source: AnimText.java

HTML Source:

<applet code=AnimText.class width=400 height=75>
<PARAM NAME=text VALUE="The Java Boutique">
<PARAM NAME=type VALUE=wave>
<PARAM NAME=bgColor VALUE=255:10:30>
<PARAM NAME=fgColor VALUE=white>
<PARAM NAME=style VALUE=BOLD>
<PARAM NAME=min VALUE=14>
<PARAM NAME=max VALUE=48>
</applet>

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"

Author: Suresh Srinivasan


EarthTour - Win an IBM ThinkPad EarthTour - Win an IBM ThinkPad EarthTour - Win an IBM ThinkPad



Copyright 1998 Mecklermedia Corporation.
All Rights Reserved. Legal Notices.