The MarqueeText applet is provided as freeware, subject to the terms and restrictions set forth at the end of this file. By using this applet, you agree to abide by these terms and restrictions. If you use this on your Web page, we ask that you copy the applet to your own server; please do not link to the applet at our site.
This is version 1.0b0, the first release. It has been tested on Mac and Windows95 running Netscape Navigator 3.0 final; however, if you have any problems or comments, please let us know as soon as possible.
The minimum amount of HTML required to use this applet is as follows:
<applet code="MarqueeText.class" width=210 height=34> <param name=courtesyof value="Freeware from Samizdat Productions"> <param name=getyourowncopyat value="http://www.tolstoy.com/samizdat/JavaSamples.html"> <param name=textstring value="Enter Your Text Here"> </applet>
A more complete example is as follows:
<applet code="MarqueeText.class" width=210 height=34> <param name=courtesyof value="Freeware from Samizdat Productions"> <param name=getyourowncopyat value="http://www.tolstoy.com/samizdat/JavaSamples.html"> <param name=textstring value="Enter Your Text Here"> <param name=textafterhit value="Uno Minuto, Por Favor..."> <param name=linklocation value="http://www.geocities.com/RodeoDrive/1169"> <param name=delay value="150"> <param name=numtimestowait value="20"> <param name=linkframe value="fred"> <param name=entercursor value="-1"> <param name=exitcursor value="-1"> <param name=textfont value="Courier"> <param name=textstyle value="1"> <param name=textsize value="12"> <param name=textcolor value="FF0000"> <param name=bgcolor value="FFFFFF"> <param name=bordercolor value="000000"> <param name=ball1color value="FF0000"> <param name=ball2color value="0000FF"> <param name=ball3color value="00FF00"> <param name=ball4color value="FF00FF"> </applet>
A complete explanation of each parameter follows.
courtesyof
Must be "Freeware from Samizdat Productions"
getyourowncopyat
Must be "http://www.tolstoy.com/samizdat/JavaSamples.html"
textstring
Your text string.
height, width ( from applet tag )
The height and width must be numbers such that after subtracting two, the result is
a multiple of 8. For example, 34 qualifies because 32 ( 34 - 2 ) is evenly divisible by 8.
codebase ( from applet tag )
Put this inside the applet tag if the applet is not located in the same directory as
the page containing the applet. For instance, if the URL of the applet is:
http://www.golubushka.com/MarqueeText.class
http://www.golubushka.com/zhopi/MyPage.html
<applet code="MarqueeText.class" codebase="http://www.golubushka.com/" width=210 height=34>
textafterhit
The text which will be displayed after the user clicks on the applet.
rollovertext
The text which will be displayed when the user moves the mouse over the applet.
linklocation
The document which will be shown after the user clicks on the applet. This must be a full
URL. If this parameter is not given, clicking on the applet will have no effect.
linkframe
The second parameter to the AppletContext.showDocument() method. See the Java documentation
for more details.
delay
The speed at which text is scrolled, in milliseconds. There are 1000 milliseconds in a second.
Default: 150.
stepsize
The number of pixels the text is scrolled each time. Default: 6.
numtimestowait
After clicking, if the 'linklocation' parameter was given, this is the number of times the applet
will wait before resuming showing the textstring. For instance, if this parameter is 20, and the
'delay' parameter is 100, after the user has clicked on the applet, the applet will wait 2 seconds
before resuming showing the textstring.
entercursor
The cursor to show when the user moves the mouse over the applet. If you don't want to
change the cursor, set this to -1. Otherwise, set it to one of the following values. Note that
setting cursor may not work the same on all platforms. The default is -1.
DEFAULT_CURSOR = 0
CROSSHAIR_CURSOR = 1
TEXT_CURSOR = 2
WAIT_CURSOR = 3
SW_RESIZE_CURSOR = 4
SE_RESIZE_CURSOR = 5
NW_RESIZE_CURSOR = 6
NE_RESIZE_CURSOR = 7
N_RESIZE_CURSOR = 8
S_RESIZE_CURSOR = 9
W_RESIZE_CURSOR = 10
E_RESIZE_CURSOR = 11
HAND_CURSOR = 12
MOVE_CURSOR = 13
exitcursor
The cursor to show when the user moves the mouse out of the applet. The values are the same
as for the 'entercursor' parameter.
textfont
The font to use for text.
textstyle
The style of the text: 0 is plain, 1 is bold, 2 is italic, and 3 is both bold and italic.
textsize
The size of the text.
textcolor
The color of the text.
bgcolor
The color behind the text.
bordercolor
The color behind the balls.
failurecolor
The color the applet will be painted if an error occurs, such as no memory. Note that some
errors may occur without the applet's knowledge. The default is to set this to the same as the
border color.
ball1color
ball2color
ball3color
ball4color
The colors of the balls used to form the marquee.
MarqueeText is Copyright © 1996-97 Samizdat Productions. All Rights Reserved.
MarqueeText is a trademark of Samizdat Productions.
This software is 'freeware', and is provided on an "as-is" basis; use this software at your own risk. No warranty of fitness for any purpose is claimed, implicitly or otherwise.
You may not link to the applet at our site; you must copy this applet to your own Web site or server.
Feel free to duplicate and re-distribute this software. This read me file must accompany the software.
This software may be used for any purpose, provided that it is not sold either directly or indirectly. Any such use is strictly prohibited.