Title: aaFader (AKA faderPRO)
Author: Christian Ricci, One Wolf WebArt for StockObjects
Email: chris@onewolf.com

Getting Started

To use aaFader, at a minimum, the following lines will need to be added to your HTML:

<applet code="aafader.class" height="pixel_height" width="pixel_width">
...
      Your parameters go here (see below)
...
</applet>

This assumes that the applet (aafader.class) exists in the same directory as your HTML. If you have saved the applet somewhere else, you'll need to include the directory (or web address) with your code string. Alternatively, you could include the codebase attribute in your applet tag.

Any HTML (or non-parameters) appearing between the applet tags would be displayed in the space of an applet on browsers that don't support Java.

A parameter tag looks something like this:

<param name="parameter_name_here" value="parameter_value_here">

The parameters for this applet are documented below.


Parameters

LINE1 - LINE1000 (Some required) - LINE1 through LINE1000 make up the content -- what will be displayed in the applet while it's running. Lines appear one at a time, each one following the previous. When all the lines have been displayed, the applet starts over with the first.

Example:

<param name="LINE1" value="One Wolf WebArt...">
<param name="LINE2" value="and StockObjects...>
<param name="LINE3" value="teaming up to create>
<param name="LINE4" value="a more interactive web.>

LINK1 - LINK1000 (Optional) - The LINK1 through LINK1000 parameters allow the web developer to associate a message (line) with a web link. LINK1 is associated with LINE1, LINK2 with LINE2 and so on. See also: LFONTNAME, LFONTSIZE, LFONTITALIC, LFONTBOLD, LNCOLOR and TARGET.

Example:

<param name="LINE1" value="One Wolf WebArt...">
<param name="LINK1" value="http://www.onewolf.com/">
<param name="LINE2" value="and StockObjects...>
<param name="LINK2" value="http://www.stockobjects.com/">

TARGET (Optional) - If there is a link associated with one or more lines but you don't want to open that link in the current window, you can divert the new page to a separate window or frame by defining the TARGET. This TARGET is the used in the same manner as the TARGET in HTML. All links will open in this TARGET frame or window.

Example:

<param name="TARGET" value="new">

FGCOLOR (Optional) - FGCOLOR or foreground color is the final, or resulting, font color. FGCOLOR, and the rest of the color parameters have the same format as color attributes in HTML (without the leading pound sign). See the included document for a list of the 216 web-safe colors. FGCOLOR defaults to white.

Example:

<param name="FGCOLOR" value="DDDDDD"> (light-grey)

BDCOLOR (Optional) - BDCOLOR or border color allows the web developer to control the color of the border, if one is being used. BGCOLOR defaults to FGCOLOR or white. See also: BORDER.

Example:

<param name="BDCOLOR" value="FFFFFF"> (white)

BGCOLOR (Optional) - BGCOLOR or background color for the applet is set here. BGCOLOR defaults to black.

Example:

<param name="BGCOLOR" value="000000"> (black)

LNCOLOR (Optional) - LNCOLOR or link color, is the color the text will change to when the mouse cursor is over the applet. The text will only change color when the line currently being displayed is associated with a link. LNCOLOR defaults to FGCOLOR. See also: LFONTNAME, LFONTSIZE, LFONTITALIC, LFONTBOLD and LINKx.

Example:

<param name="LNCOLOR" value="7777FF"> (light blue)

FONTNAME, FONTSIZE, FONTBOLD and FONTITALIC (Optional) - You may force the font type, size or style by passing any, or all, of these values. To turn on bold and/or italic, pass a 1 (one) in the FONTBOLD and/or FONTITALIC parameter. The normal font defaults to the system font on the client machine.

Example:

<param name="FONTNAME" value="Courier">
<param name="FONTSIZE" value="14">

(normal font is a 14 pt, Courier)

LFONTNAME, LFONTSIZE, LFONTBOLD and LFONTITALIC (Optional) - You may force the link font type, style and size by passing any, or all of these values. The link font replaces the normal font when the mouse cursor is over the applet. See also: LNCOLOR and LINKx. The link font attributes default from the normal font.

Example:

<param name="LFONTNAME" value="Courier">
<param name="LFONTSIZE" value="16">
<param name="LFONTBOLD" value="1">

(link font is a 16 pt, Bold Courier)

BORDER (Optional) - If you want a border to appear around the applet, pass the border width (in pixels) in this parameter. BORDER defaults to 0 (zero). See also: BDCOLOR.

Example:

<param name="BORDER" value="2"> (2 pixel border)

SPEED (Optional) - SPEED controls how fast the lines fade in and out. Values are from 1 (slowest) to 50 (fastest) but the effect may vary slightly depending upon the resources available on the client computer. SPEED defaults to 5.

Example:

<param name="SPEED" value="10">

PAUSE (Optional) - PAUSE controls how long the message (line) will appear before fading out. PAUSE, in conjunction with SPEED, allows the designer to control the pace of the applet. PAUSE is a value, passed in milliseconds. PAUSE defaults to 500 (1/2 second).

Example:

<param name="PAUSE" value="2000"> (2 seconds)

XPOS (Optional) - XPOS stands for X position, this controls the horizontal position (in pixels) of the lines within the applet. XPOS defaults to five.

Example:

<param name="XPOS" value="20">

YPOS (Optional) - YPOS stands for Y position, this controls the vertical position (in pixels) of the first line within the applet. YPOS defaults to the middle of the applet.

Example:

<param name="YPOS" value="12">

CONTENT (Optional) - If you need (or want) to load your lines from an external file instead of from your HTML, pass the URL addressing the location of your content in this parameter. The content file can be named anything but must reside on a web server.

Example:

<param name="CONTENT" value="http://www.onewolf.com/stuff.txt">

Your CONTENT file needs to have the format:

Message One|Link One
Message Two
Message Three|Link Three

That's a pipe separating Lines from Links. Do not include the pipe if there is no link.


Examples

Example 1
Example 2
Example 3
Example 4
Example 5