|
VMaxScroller Applet
This is a simple and easy to use text scroller Applet
with some additional capabilities:
message Drag
custom fonts and colors settings for each message,
clickable messages
flexible targeting and highlighting messages on mouse over.
Optionally applet can connect to specified URL to get additional messages
from text file or from CGI output.
|
Applet Usage Example
<APPLET CODE="vmaxscroller.class"
CODEBASE="./"
WIDTH=300 HEIGHT=300
>
<PARAM NAME="AUTHOR" VALUE="Virtual_Max (http://come.to/vmax)">
<PARAM NAME="KEY" VALUE="Free Version">
<PARAM NAME="BGIMAGE"
VALUE="bg.gif">
<PARAM NAME="STEP" VALUE="2">
<PARAM NAME="DELAY" VALUE="50">
<PARAM NAME="ALIGN" VALUE="RIGHT">
<PARAM NAME="BGCOLOR" VALUE="000080">
<PARAM NAME="SPACING" VALUE="10">
<PARAM NAME="URL" VALUE="vmaxsrollermes.txt">
<PARAM NAME="MESSAGE0" VALUE="TimesRoman,0,20|ffff00| | | |
Virtual_Max presents Applet
">
<PARAM NAME="MESSAGE1" VALUE="TimesRoman,0,16|00ffc0| | | |
This Applet combines two ways to obtain message texts.
First it parses the list of messages specified as applet PARAMs.
Than applet connects to specified URL to get the list of additional messages.
Webmasters can use connection to CGI in order to add the latest news.
">
<PARAM NAME="MESSAGE2" VALUE="TimesRoman,0,20|ff0000| | | |
Clickable messages">
<PARAM NAME="MESSAGE3" VALUE="TimesRoman,1,16|ffff00|00ff00|vmaxscrollermes.txt|_blank|
Each message can be linked to some URL to be opened on click.
One can also specify target window name defined in frameset
to show linked document, including
predefined names such as: _top,_parent,_self and _blank.
Click on this message to view the messages file.
">
<PARAM NAME="MESSAGE4" VALUE="TimesRoman,0,20|ff0000| | | |Colors">
<PARAM NAME="MESSAGE5" VALUE="TimesRoman,1,16|ff00ff|ffff00| | |
One can define color settings separate for each message.
Normal color and highlighted color
to be used on mouse over message. Font settings are also
separate for each message and include font name, style and size.
">
<PARAM NAME="MESSAGE6" VALUE="TimesRoman,0,20|ff0000| | | |Scrolling control">
<PARAM NAME="MESSAGE7" VALUE="TimesRoman,1,16|ffff00| | | |
Press and hold mouse button. VMaxScroller freeze!
Try to Drag back message you missed.
Click on message, new document will be opened.
(in this example only message next after 'Clickable messages'
have linked document
and is clickable)
VMaxScroller have two parameters for controlling
frame rate and scroll step.
">
</APPLET>
Some explanations
Parameter |
Description |
AUTHOR |
Obligatory parameter
Virtual_Max (http://come.to/vmax) |
BGIMAGE |
URL for background image for this applet,
I'd recommend to use non-interlaced .gif images. |
BGCOLOR |
All Colors are in hexadecimal format 'rrggbb', same as HTML colors
format but without # hexadecimal radix symbol. For example, for red color
use: FF0000. |
STEP and DELAY |
Animation control parameters, step in pixels and delay time in milliseconds
per animation frame |
ALIGN |
Text alignment CENTER or LEFT |
SPACING |
Vertical Spacing between messages in pixels. |
URL |
Url of text file or CGI to load additional messages. Applet uses 'GET'
method to get messages from this connection. |
MESSAGE0..
MESSAGEn |
Enumerated messages to be shown. Enumeration should starts with 0,
and have no missed numbers. Message itself consists of several fields separated
by '|' character, this fielads are:
FontSettings | TextColor | HighlightColor | linkURL
| TargetFrameName | MessageText
FontSettings includes Fontname, FontStyle
and FontSize separated by commas.
Java supports only few Platform independent
FontNames:
Dilaog
Helvetica
TimesRoman
Courier
InputDialog
FontStyles. Use
0 - for Plain text
1 - Bold
2 - Italics
3 - Bold Italics
FontSize should be decimal integer.
TextColor and HighlightColor
are hexadecimal color values
in RRGGBB
format, same as HTML colors, but without # radix symbol.
LinkURL can be relative in terms of document
context or absolute
TargetFrameName names defined in frameset
can be used or one of the predefined names:
_top
_parent
_self
_blank
|
KEY |
Obligatory parameter. Key Free Version will add aditional link back to my pages,
if you want to get rid of it, please, follow registration instructions.
|