The CreditRoll Applet

The CreditRoll applet is used to display scrolling text similar to the credits given at the end of a movie. With the CreditRoll applet you can control such factors as the credit text, the size and color of the credit text and the scroll speed. A complete list of CreditRoll parameters is shown below.

Parameters of the CreditRoll Applet

Parameter Name

Description

BGCOLOR

The background color of the applet window expressed as a color value.

FADEZONE

The text in the applet window will fade in and out as it scrolls. This parameter sets the size of the area in which the text fades (in pixels).

TEXTCOLOR

The color value of the text in the applet window.

FONT

The font used for the scrolling text in the applet window.

TEXTx

Each line of text in the applet window requires a separate TEXTx parameter where x is the line number. For example the parameter TEXT1 sets the text for the first line in the applet window, TEXT2 sets the text for the second line in the applet window and so forth.

URL

If the applet window is clicked it will open the Web page specified in this URL parameter.

REPEAT

Specifies whether the text in the applet window is repeated. Setting this parameter's value to "yes" causes the text to scroll continuously.

SPEED

The speed at which the text scrolls expressed in pixels per 1/100 of a second.

VSPACE

The space between each line of text in pixels.

FONTSIZE

The point size of the text in the applet window

CreditRoll Applet Example

The following HTML code:


<CENTER><APPLET CODE="CreditRoll.class" WIDTH=400 HEIGHT=100>
   <PARAM NAME=BGCOLOR VALUE="333333">
   <PARAM NAME=TEXTCOLOR VALUE="FFCCFF">
   <PARAM NAME=FADEZONE VALUE=20>
   <PARAM NAME=FONT VALUE="Times">
   <PARAM NAME=TEXT1 VALUE="The CreditRoll Applet">
   <PARAM NAME=TEXT2 VALUE=" ">
   <PARAM NAME=TEXT3 VALUE="The CreditRoll applet allows you to">
   <PARAM NAME=TEXT4 VALUE="create scrolling text with different">
   <PARAM NAME=TEXT5 VALUE="font sizes and font colors. You can also">
   <PARAM NAME=TEXT6 VALUE="control the scrolling speed.">
   <PARAM NAME=TEXT7 VALUE=" ">
   <PARAM NAME=TEXT8 VALUE="Click this box to go to the Course home page">
   <PARAM NAME=URL VALUE="http://www.course.com">
   <PARAM NAME=REPEAT VALUE="yes">
   <PARAM NAME=SPEED VALUE=80>
   <PARAM NAME=VSPACE VALUE=5>
   <PARAM NAME=FONTSIZE VALUE=12>
</APPLET></CENTER>

will generate the credit roll window shown below: