VScroll



This applet simply scroll text vertically, from down to up. It's automatically using whole applet area.

When you move mouse over applet, same text will be shown on browser status bar, line by line.



Parameters

Required parameters
Name Possible values Description
Line_1 String First line of scrolling text.
Additional parameters
Name Possible values Description
Line_X
(X=2,3,4...)
String Line X of scrolling text.
AppletBgColor Hex RGB-color Applet background color.
TextColor Hex RGB-color Text color.
FontName String
("Arial", "Serif", "Courier"...)
Name of the font used to print 'Text'. All systems doesn't support all fonts, so it's better to use some common font.
FontSize Number
(Positive integer)
Font size.
LineSpacing Number
(Positive integer)
Number of pixels between lines.
FadeLength Number
(Positive integer)
Defines how long time text is fading at the bottom and top of applet. Use value 0 if you want that text doesn't fade at all.
Delay Number
(Positive integer)
Defines how many milliseconds applet will wait until text moves forward. Smaller value make text scrolling faster.
Pause Number
(Positive integer)
After last line is written on screen, 'Pause' tells how many milliseconds applet will wait before it start writing lines from the beginning again.
Align "Left" or "Right" Align text to left or right side of applet.


Example

Example applet running Example applet HTML-code
Your browser can't run Java! <APPLET CODE="VScroll.class" WIDTH=200 HEIGHT=150>
<PARAM NAME="Line_1" VALUE="Vertical text scroller">
<PARAM NAME="Line_2" VALUE="with nice fading effect.">
<PARAM NAME="Line_3" VALUE="">
<PARAM NAME="Line_4" VALUE="Visit my other Java-page:">
<PARAM NAME="Line_5" VALUE="www.tiikoni.net/java/applet/">
<PARAM NAME="AppletBgColor" VALUE="CCCCCC">
<PARAM NAME="TextColor" VALUE="000000">
<PARAM NAME="Pause" VALUE="3000">
Your browser can't run Java!
</APPLET>


Download

VScroll.class (6.117 bytes)




Back to "Free applets"-page

Back to "Java"-page



www.tiikoni.net/java/free/applets/vscroll.php Full page map Copyright © Pasi Laaksonen