ZeBanner
|
BACK
TO DEMO
Well
here is the little documentation, to make this applet running, there are 4 global
parameters, the indexed message parameters and the text file where is
located the contents of the Scroller.
The indexed parameters are numbered from 1 to
200. For defining a parameter for a specific message, you just need to add the parameter
number at the end of the parameter :
e.g. : the second message of the
applet would be so defined:
<PARAM NAME="TEXT1"
VALUE="Sample Text"> |
Global
Parameters
| DELAY |
Expressed in milliseconds, it defines the delay the
screen will be refreshed |
| STEP |
The step parameter is expressed in pixels. It defines
the smoothness of the animation. You should set this to 1, for the most visual effect. |
| FILE |
File
containing the messages. |
| BCOLOR |
Defines the background color in Hexadecimal |
Indexed Parameters
| FONT<1..300> |
Font to be used,
3 comma separated values : Font, Size, Style.
The style can be : 'BOLD', 'ITALIC' or
'BOLDITALIC'
|
| COLOR |
4
Colors in hexadecimal separated by a comma. The two first colors are
the text colors, normal and highlighted, the two other colors are for
the background. |
| SHADOW |
Shadow
used for text. 4 parameters. x - y displacement. Normal and
highlighted color |
Message Parameters
the message parameters comes from a text
file, each message has delimiter statements : BEGIN and END
Example of Message :
BEGIN
SDATE=16/04/1999
DATE=20/04/2001
FONT=1
COLOR=1
DEC=1
URL=DDROLLERBANNER.HTML
TARGET=_top
TEXT=Read the online documentation
TIP=DOCUMENTATION
END
| TEXT |
This the text being displayed in the scroller |
| TIP |
You can define a text to be displayed in the status
bar when your mouse is over a specific message |
| URL |
This is the URL to be loaded on a mouse click |
| TARGET |
This is the target window where the new URL will be
loaded |
| SDATE |
Start
date for this message. |
| DATE |
End
date for this message |
| FONT |
Font
index to use |
| COLOR |
Color
Index to use |
| SHADOW |
Shafow
index to use |
| DEC |
This defines how many pixels the message will
vertically shifted. into the Applet window |
|
Back to ZeBanner
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.