This document contains a short description of the
Heading.class and PhotoOp.class Java
applets which may be viewed and downloaded from http://members.aol.com/jmphotoop.
Disclaimer:
Heading.class AND
PhotoOp.class ARE SUPPLIED AS IS. THE AUTHOR DISCLAIMS
ALL WARRANTIES, EXPRESSED OR IMPLIED, INCLUDING, WITHOUT LIMITATION,
THE WARRANTIES OF MERCHANTABILITY AND OF FITNESS FOR ANY PURPOSE.
THE AUTHOR ASSUMES NO LIABILITY FOR DAMAGES, DIRECT OR CONSEQUENTIAL,
WHICH MAY RESULT FROM THE USE OF Heading.class or
PhotoOp.class.
Heading.class
The following is an example of the minimum HTML required
to specify a Heading applet :
<applet code=Heading.class width=150 height=14>
<param name=message value="This is a default
heading">
</applet>
This specifies a dynamic heading of 160x14 pixels
with text of "This is a default heading." The browser
expects the Heading.class file to be in the same
directory as the current page. If the Heading.class
file is in another directory or even at a different url, then
specify this in the codebase parameter. For instance to
specify that the Heading.class be retrieved from
my page:
<applet codebase=http://members.aol.com/JmPhotoOp
code=Heading.class width=150 height=14>
<param name=message value="This is a default
heading">
</applet>
The following variable parameters determine the optional
behavior of the Heading.class applet. (The default values are
parenthesized):
message - a text
string enclosed in quotation marks which determines the content
of the heading.
font - (TimesRoman),
Hevetica, or Courier.
size - (14) points.
If the message at the requested point size is wider than the
applet width, the point size will be scaled down.
style - (plain),
bold, italic.
speed - 0, 1, (2),
- a measure of the speed of color change across the heading.
Zero is fastest.
halign - (left),
center, right. Horizontal text alignment.
valign - (bottom),
center, top. Vertical text alignment.
linktourl - If
this parameter is specified, then this heading is a link and will
be underlined. This is the url to which the browser will link
if clicked.
linktotarget -
If linktourl is specified then this is the frame
name (or _top) targeted to contain the new page.
background - The
background color of the applet - white, (lightGray), darkGray,
gray, black, red, pink, orange, yellow, green, magenta, cyan,
blue; random yields one of the previous thirteen. If this field
contains ".gif" or ".jpg" then it is assumed
to be the name of an image file.
The following is an example of the HTML required
to fully specify the default Heading applet and
is equivalent to the three line specification above:
<applet code=Heading.class width=150 height=14>
<param name=message value="This is a default
heading">
<param name=font value=TimesRoman>
<param name=size value=14>
<param name=style value=plain>
<param name=speed value=1>
<param name=halign value=left>
<param name=valign value=bottom>
<param name=linktourl value=null>
<param name=linktotarget value=null>
<param name=background value=lightGray>
</applet>
PhotoOp.class
The following is an example of the minimum HTML required
to specify a PhotoOp applet :
<applet code=PhotoOp.class width=80 height=80>
</applet>
This specifies an 80x80 pixel scrolling collage of
8 images selected from the imagelist file The browser
will expect the PhotoOp.class file, as well as the
imagelist file and the console.gif file (which is a monitor
image and is scaled to the height and width of the
applet), to be in the same directory as the current page. If
these files are in another directory or even at a different url,
then specify this in the codebase parameter. For instance
to specify that these files be retrieved from my page:
<applet codebase=http://members.aol.com/JmPhotoOp
code=PhotoOp.class width=80 height=80>
</applet>
The following variable parameters determine the optional
behavior of the PhotoOp.class applet. (The default values are
parenthesized):
mode - (release)
or debug. In debug mode the image file names in imagelist
are pre-verified for existence.
imagelist - (imagelist)
or another file name relative to the applet codebase directory.
This is an ascii file in NotePad or Edit format that contains
the names of up to 30 image files (.gif or .jpg) followed by an
optional semi-colon and a textual description. If this file
contains more than eight files, then eight files are selected
at random from the list for display.
message1 - (null).
When entry is scroll, this text is displayed between
the console image and the other images. In the example message1
is "+ PhotoOp +."
message2 - (null).
The text displayed to the right of the console. In the example
message2 is "Welcome To The PhotoOp Page!"
font - (TimesRoman),
Hevetica, or Courier.
size - (14) points.
If the message2 + console at the requested point size is wider
than the applet width, the point size will be scaled down.
style - (plain),
bold, italic.
speed - 0, 1, (2),
- a measure of the speed of color change across the heading.
Zero is fastest.
background - The
background color of the applet - white, (lightGray), darkGray,
gray, black, red, pink, orange, yellow, green, magenta, cyan,
blue; random yields one of the previous thirteen. If this field
contains ".gif" or ".jpg" then it is assumed
to be the name of an image file.
presentation -
(scroll), slide, or both. In the default presentation
mode a collage of the images is scrolled across the console screen
in random directions at random speeds. In the slide presentation
mode the images are displayed one at a time. In the both mode
the presentation is alternated between the two.
entry - (noscroll)
or scroll. In noscroll mode the applet starts with console
and message2 centered inside the applet. In scroll
mode the applet starts with the console, images, and text scrolling
into the applet from the right.
slideorder - (sequential)
or random. For slide presentation this determines the
slide order.
slidedelay - (5)
seconds. For slide presentation this determines the length
of time each image is displayed.
The following is an example of the HTML required
to fully specify the default PhotoOp applet and
is equivalent to the two line specification above:
<applet code=PhotoOp.class width=80 height=80>
<param name=mode value=release>
<param name=imagelist value=imagelist>
<param name=message1 value=null>
<param name=message2 value=null>
<param name=font value=TimesRoman>
<param name=size value=14>
<param name=style value=plain>
<param name=speed value=1>
<param name=background value=lightGray>
<param name=presentation value=scroll>
<param name=entry value=noscroll>
<param name=slideorder value=sequential>
<param name=slidedelay value=5>
</applet>