ScrollIt


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="bgcolor" VALUE="ff0000">
This sets the background color, and should be entered as a hexadecimal
value.  If this parameter is left out then a default color of light-gray
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="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.



Back to ScrollIt

How to Add Java Applets to Your Site

New on the Java Boutique:

New Review:

Time Management Made Easy with the Quartz Enterprise Job Scheduler
Why not just use the Java timer API? This open source scheduling API boasts simplicity, ease-of-integration, a well-rounded feature set, and it's free!

New Applet:

Reverse Complement
Reverse Complement is a simple applet that converts DNA or RNA sequences into three useful formats.

Elsewhere on internet.com:

WebDeveloper Java
Lots of Java information on webdeveloper.com

WDVL Java
Thorough Java resource at the Web Developer's Virtual Library.

ScriptSearch Java
Hundreds of free Java code files to download.

jGuru: Your View of the Java Universe
Customizable portal with online training, FAQs, regular news updates, and tutorials.