Receding Text

Allows you to display multiple lines of text in a way somewhat reminiscent of the opening title sequence of a little known science fiction movie. May the force be with you.

Downloading

The applet may be downloaded for free by clicking on the TAR-file link below (read the FAQ if you're not sure what to do with a TAR file). The FAQ also has step by step instructions on how to embed an applet into your own webpage.

RecedingText2.tar

Once unTARed, you should find the following classes (plus a '.jar' file if you want to use the archive= attribute in the <applet> tag):

Parameters

Below are descriptions of all the parameters you may use to customize the applets to your webpages. Be sure to enclose any parameters that contain white space in double-quotation marks. Most parameters have default values in case you do not specify your own values, but the first two parameters (AUTHOR and COPYRIGHT) are necessary. If you are not sure how to incorporate an applet into a webpage (with its parameter names and values), looks at the source of this webpage and the applet embedded for an example, or read the FAQ page.

  • AUTHOR: This parameter must appear exactly as follows:
    <param name=AUTHOR value="Eric Harshbarger, http://www.ericharshbarger.org">
    

  • COPYRIGHT: This parameter must appear exactly as follows:
    <param name=COPYRIGHT value="RecedingText applet, Copyright 1999, Eric Harshbarger">

  • BGCOLOR: This parameter indicates the background color of the applet. Consult the FAQ page if you are unsure what format to use for the parameter's value.

  • FGCOLOR: This parameter indicates the foreground color of the applet. Consult the FAQ page if you are unsure what format to use for the parameter's value.

  • BACKGROUND: This parameter points to an image file that is used as a background to the applet. All the various texts of the applet will be painted on top of this image. Consult the FAQ page if you are unsure about what image formats you may use.

  • FONTNAME: This is the name of the font face. Consult the FAQ for more information.

  • FONTSTYLE: 'plain', 'bold', 'italic', or 'bold+italic'.

  • FONT.COUNT: The number of different fontsizes used by the applet. The smallest visible font will always be 2, the largest, 36. The default FONT.COUNT is 18... meaning the lines of text will be: 2, 4, 6, 8,... 32, 34, 36.

  • TEXT: The message to be displayed. Multiple lines are separated by the LINEBREAK character.

  • FULL.JUSTIFY: If 'true' (the default), then each line of text will be spaced so that the full line requires as much room as the longest line. If 'false' each line is simple centered.

  • LINEBREAK: The character that indicates linebreaks in the TEXT parameter. The default is '\' (backslash).

  • HORIZON: The horizontal line at which the smallest line of text will disappear. Default is the applet's height/2.

  • SPEED: The number of milliseconds between line movements.

  • URL: The URL of the page that should be spawned when the applet is clicked. May be omitted for no link.

  • TARGET: The name of the browser frame in which the URL will appear. Default is '_self'.



    APPLET DEPOT: INTRO - NEWS - APPLETS - DEMOS - CUSTOM - FAQ - EMAIL
    The Applet Depot and all associated applets, text, scripts, and images, Copyright © 1998-2002 by Eric Harshbarger unless otherwise noted. 'Java' is a registered trademark of Sun Microsystems Incorporated.