TEXT SCROLL

Make sure that your browser is Java enabled...

What does it do?

The ScrollIt applet scrolls text horizontally. Incorporates URL links, configurable text color (including link color, and hover color), font style and size, and target frame for links to go to. Applet sets the layout to fit whatever size you specify the applet to be.

Can read from a text file, or parameters within the HTML page.

THE CODE...
=============

The following code can be cut and pasted into an HTML document. Make
sure that the TextScroll.jar file is placed within the same directory
as the HTML document that contains this code.


<APPLET CODE="TextScroll.class"
ARCHIVE="TextScroll.jar"
WIDTH="450"
HEIGHT="60">
<PARAM NAME="bordercolor" VALUE="336699">
<PARAM NAME="scrollbgcolor" VALUE="bbddfe">
<PARAM NAME="fontcolor" VALUE="000000">
<PARAM NAME="hovercolor" VALUE="990000">
<PARAM NAME="linkcolor" VALUE="ff0000">
<PARAM NAME="dragging" VALUE="on">
<PARAM NAME="brakes" VALUE="2">
<PARAM NAME="fontface" VALUE="Arial">
<PARAM NAME="fontstyle" VALUE="plain">
<PARAM NAME="fontbold" VALUE="on">
<PARAM NAME="fontsize" VALUE="12">
<PARAM NAME="textfile" VALUE="off">
<PARAM NAME="text" VALUE="text line goes here...">
<PARAM NAME="target" VALUE="_self">
Make sure that your browser is Java enabled...
</APPLET>

----------------------------------------------------------------


CONFIGURATION:
==============

Width and Height can be set to desired specification.

Text file layout...

# comments can be included by prefixing with the pound sign,
# these are ignored by the scroller.

Normal text is displayed and scrolled

text prefixed by the "|" symbol (press "shift"+"\")
is the link text, which when clicked on will take you to
the URL specified in the next line, eg:

|CLICK HERE TO GO TO www.microsoft.com
http:\\www.microsoft.com

|CLICK HERE FOR A LOCAL FILE
index.html

NOTE: text links must always be followed by a URL!

Blank lines are ignored by the scroller.

Parameters include...

<PARAM NAME="bordercolor" VALUE="ff0000">
This sets the border color, and should be entered as a hexadecimal
value. If this parameter is left out then a default color of black
will be used.

<PARAM NAME="scrollbgcolor" VALUE="ff0000">
This sets the color of the scroll area's background, and should be
entered as a hexadecimal value. If this parameter is left out then a
default color of white will be used.

<PARAM NAME="fontcolor" VALUE="ff0000">
This sets the color of the scrolling text, and should be entered as a
hexadecimal value. If this parameter is left out then a default color
of black will be used.

<PARAM NAME="hovercolor" VALUE="ff0000">
This sets the color of the URL link text when the mouse pointer hovers
over a link, and should be entered as a hexadecimal value. If this
parameter is left out then a default color of red will be used.

<PARAM NAME="linkcolor" VALUE="ff0000">
This sets the color of the URL link text, and should be entered as a
hexadecimal value. If this parameter is left out then a default color
of blue will be used.

<PARAM NAME="dragging" VALUE="on">
This enables dragging of the scrolling text. If this parameter is left
out then dragging will be enabled.

<PARAM NAME="brakes" VALUE="5">
This sets the speed of the scroll, the higher the number, the slower
the text will scroll. If this parameter is left out then a default
value of 5 will be used.

<PARAM NAME="fontface" VALUE="Arial">
This sets the font face to be used.
Current available fonts are "TimesRoman", "Courier" and "Arial".
If this parameter is left out then a default of arial will be used.

<PARAM NAME="fontstyle" VALUE="italic">
This value sets the font to either 'italic' or 'plain'.
If this parameter is left out then a default of plain will be used.

<PARAM NAME="fontbold" VALUE="on">
This specifies if the text is displayed in bold, values accepted are
'on' or 'off'. If this parameter is left out then a default value of
off will be used.

<PARAM NAME="fontsize" VALUE="30">
This sets the size of the font in points.
If this parameter is left out then a default of 16 points will be used

<PARAM NAME="textfile" VALUE="test.txt">
Specifies the location and name of the text file to read information
from.
If this parameter is left out then a warning message will be scrolled.
If the text file cannot be found, or is blank, then a spearate warning
message will be scrolled.
If the value is set to "off" then it will force the applet to read
the text line from the "text" parameter.

<PARAM NAME="text" VALUE="Text to scroll goes here...">
When the "textfile" parameter is set to a value of "off" then the
applet reads from the "text" parameter. This scrolls the text
specified, but does not support the other link features available
within the text file script.

<PARAM NAME="target" VALUE="_self">
Specifies which frame to load links into. Values can be:
"_self" - loads into current window.
"_parent" - loads into full current window if frames are used.
"_blank" - loads into a new window.
"framename" - loads into the name of the frame you specify.
If this parameter is left out then a default of "_self" will be used.