*************
Floating Text
*************
by John Morris
1. Add the following html to the html
of the page on which you want Floating
Text to appear:
*NOTE = you will have to adjust
the 'width' and 'height'
attributes of the applet tag to fit
your menu when you are done.
2. Customize the menu by adding param tags
between the tags in
the folling form:
The following is a list of attributes
with their possible values:
name value
---- -----
text# The text that will appear in the menu
Replace '#' with the text line's numerical
index (ie. start with text1 and go up)
background text The text that will appear behind the text
above
background color any valid RGB color (ie. 0,0,0 = black)
background text color "
foreground text color "
background font name Any valid font name (ie. "Verdana")
background font style Any valid numeric font style
( 0 = none
1 = bold
2 = italics
3 = bold + italics )
background font size Any valid font size
foreground font name Any valid font name (ie. "Verdana")
foreground font style Any valid numeric font style
( 0 = none
1 = bold
2 = italics
3 = bold + italics )
foreground font size Any valid font size
speed any number from 1 to 10,000
(this represents the pause
time in milliseconds)
*The easiest way to configure your
menu is to look at the tags in
the "float.htm" file included.
YOU MUST INCLUDE THE FOLLOWING TAG
EXACTLY AS IT APPEARS BELOW
FOR THE APPLET TO WORK:
3. Place "FloatingText.class" in
the same folder as the .html file
that you want to use Floating Text.
Stop by Java Playground again for more free applets!
John Morris
www.javaplayground.com