Goetz's Scrolling Text v1.12

Copyright Lawrence Goetz 1998

This applet will take a series of lines of text and display them one by one on the screen. The lines scroll up, much like movie credits, and pause in the center of the screen. You can vary many aspects of the applet. I have tested it on Netscape 3.04 and Internet Explorer 3.0. It worked fine on both these browsers.

This applet is shareware, if you don't register it, it will constantly display in the lower left part of the applet:
UNREGISTERED VERSION
Registration is only $5 US funds and it will remove the unregistered version text.
Click here for registration information.

Here is the code you add to your web page, to run the applet. You don't need to have the comment lines, but they help you read the code. I'd appreciate if you left in the comment about the title of the applet and where it can be found. This is so people who want to know what it is, know where to find it. You'll also need to place the gstext.class file in the same directory as you place your html file that loads the applet.

<!-- Goetz's Scrolling Text Applet. Copyright Lawrence Goetz 1998. -->
<!-- Web: http://pages.prodigy.com/goetz E-mail: goetz@dorsai.org -->

<!-- Adjust the width and height of the applet here. -->
<applet code=gstext.class name=gstext width= height= >

<!-- Enter in your background color here. -->
<param name=background value="">

<!-- Enter in your text color here. -->
<param name=text value="">

<!-- Enter in your font size here. -->
<param name=fontsize value="">

<!-- Enter in number of seconds pause time here. -->
<param name=time value="">

<!-- Enter URL to link to here. -->
<param name=URL value="">

<!-- Enter title of the link here. -->
<param name=title value="">

<!-- Enter in your lines of text here.  -->
<param name=line1 value="">

</applet>

Here is a sample applet.

Here is a template html file with the applet code.

Here are detailed explanations of the applet parameters.

Applet Size:

The size of the applet is given in the width and height values in the applet tag.
<applet code=gstext.class name=gstext width= height= >

For example if you want a 400 by 100 pixel applet, you write:
<applet code=gstext.class name=gstext width=400 height=100 >

If you make the size too small, the text will get cropped at the edges. If you leave off a value, the applet will not be displayed, and an error message may appear.

Text & Background Colors:


When using the color names, be sure to place them in " ".

Here are the color choices:

white
black
light gray
gray
dark gray
red
pink
orange
yellow
green
magenta
cyan
blue


For example to make your text in light gray:
<param name=text value="light gray">
To have a white background do:
<param name=background value="white">

If you don't specify either of these parameter tags, the defaults are black text and white background. If you make a spelling mistake you will get the wrong color. The name of the color must be in lowercase.

Font Size:

The size of the font. For example size 14:
<param name=fontsize value="14">

If this tag is not given a value, the default is 18.

Pause Time:

The time the text pauses in the middle is set as:
<param name=time value="3">
Where the value is the number of seconds to pause. If this tag is not given a value, the default is 2.

URL Link:

You can have the applet linked to a web page or file. Placing an address in here will link the applet to it.
<param name=URL value="">

For example, to link an applet to my page, you would do:
<param name=URL value="http://pages.prodigy.com/goetz">

You can either leave the tag's value as "" or remove the whole line, if you don't want a link.

Title:

When the visitor moves the mouse over the applet, you can give the title of the web link they will be clicking on.You place the title here:
<param name=title value="">

An example would be:
<param name=title value="Visit my home page">

You can either leave the tag's value as "" or remove the whole line, if you don't want a title.

Text to Display:

You can display many lines of text. You enter them as follows:
<param name=line1 value="">
<param name=line2 value="">
etc.

Fill in the values between the " " with the line of text you want displayed. You can not use " in your line of text. Use two ' in a row. For each line you must make a new line number. As show above where it is in the form:
<param name=lineN value=""> where N is the line number

Example:
<param name=line1 value="Hello">

If no lines of  text are given, the default text is:
This applet was designed by Lawrence Goetz.

If you skip a line number, all the lines after it will not be displayed. So if you have line1, line2, then line4 the program will display only lines 1 and 2.

If in any of the parameters you don't give beginning and ending " marks, the program will not perform what you asked it to.

If you reload the page with your applet and you have changed some of the values, you may still see the old values. If that happens, hold down the Shift key while pressing Reload or Refresh.

If you add more than one of these applets on your page, they may slow down and perhaps flicker. Making them smaller in size helps reduce these effects.

Visit my home page for more shareware programs.

Check my home page to see if there is a later version of this applet.

Send me your questions, comments, suggestions.