Parameters
Name | Description | Default Value |
text | message in HTML | |
textFile | URL of text file that contains message | |
font | name of font | Helvetica |
fontStyle | font style: 0 - plain, 1 - bold, 2 - italics, 3 - bold-italics | 0 |
fontSize | font size | 12 |
bgImage | URL of background image | |
bgDisplay | method of displaying background image: 0 - tiled, 1 - centered | 0 |
bgColor | background color (RGB) | 000000 |
fgImage | URL of foreground/text image pattern | |
fgColor | foreground/text color (RGB) | FFFFFF |
linkColor | hyperlink color (RGB) | 0000FF |
activeLinkColor | active hyperlink color (RGB) | FF0000 |
speed | average number of pixels to move per iteration | 5 |
delay | number of milliseconds of sleep per iteration | 80 |
amplitude | amplitude (number of pixels) of oscillation | 6 |
period | period (number of iterations) of oscillation | 30 |
trail | intensity of text trail (0.0 to 1.0) | 0.8 |
target | name of the default target frame | _self |
Example
The following HTML code produces the applet at the top of this page.
<applet code="PhantomScroll.class" width="350" height="100" name="scrollApplet">
<param name="activeLinkColor" value="3FFFAF">
<param name="amplitude" value="8">
<param name="bgDisplay" value="1">
<param name="bgImage" value="b4.jpg">
<param name="fgImage" value="b3.jpg">
<param name="fontsize" value="20">
<param name="linkColor" value="AFFFDF">
<param name="speed" value="7">
<param name="text" value="Thanks
for your interest in <a
href='http://table.jps.net/~one1/stuff/java/phantomscroll'>PhantomScroll</a>.<br>Please
feel free to use this applet as much as you wish.<br><a
href='http://table.jps.net/~one1/stuff/java/phantomscroll'>PhantomScroll</a>
was developed by <a href='mailto:um@mail.com'>Uldarico
Muico Jr.</a>">
</applet>
Details
Please refer to the source code PhantomScroll.java and the source documentation for more details on the applet.
Copyright © 2000 Uldarico Muico Jr. All rights reserved.