Zooming Messages Java Applet


 

 

Customizing the Applet:

Class File Name: ZoomText.class
Class File Size: 7K
Notice Tag: Zooming Messages, Copyright (c) OpenCube Technologies, Registered 5124

Parameter 1 must be included in the applet tag in order for the applet to work. Most of the parameters will default if you fail to define them, however we suggest you include all the parameters so the applet is ensured to give the desired look. Usually the easiest thing to do is cut and paste the applet tag info used in the sample and modify it to fit your web page.

Color Definition: This applet uses a simple RGB color scheme. To define a color in one of the color parameters use a value between 0 - 255 for the red, green, and blue components separated by commas and typed out in the correct r,g,b order. Below is a sample of how a color parameter should look, the example specifies several different sample colors for the "bgcolor" parameter.

WHITE: <param name="bgcolor" value="255,255,255">
GREEN: <param name="bgcolor" value="0,255,0">
BLACK: <param name="bgcolor" value="0,0,0">
YELLOW: <param name="bgcolor" value="255,255,0">
OFF WHITE: <param name="bgcolor" value="240,239,234">

The best way to choose the exact color you are looking for without having to guess the numbers is to access your systems Color Picker. Color Pickers usually allow you to drag the mouse over a rainbow type color grid to select a color, and show you the appropriate RGB values. In windows the Color Picker is accessible through MS Paint as well as a majority of the popular Imaging and HTML Authoring Software.

Parameter 1
Attribute: Copyright Notice
param name="Notice"
value="Zooming Messages, Copyright (c) OpenCube Technologies, Registered 5124"
Note: This must be included for the applet to work.

Parameter 2
Attribute: Background Color
param name="bgcolor"
Value=r,g,b where r,g,b represents the red, green and blue components of the color as described above.

Parameter 3
Attribute: Text Color
param name="textcolor"
Value=r,g,b where r,g,b represents the red, green and blue components of the color as described above.
Note: The color defined with "textcolor" is the default color used when a custom color is not defined for a given message.

Parameter 4
Attribute: Bold
param name="bold"
Value="true" or "false"

Parameter 5
Attribute: Italic
param name="italic"
Value="true" or "false"

Parameter 6
Attribute: Font Type
param name="font"
Value=X, where x is a valid font name, for example "times", "Courier"

Parameter 7
Attribute: Jump size for first animation sequence.
param name="jump1"
Value=X, where X is the size of the animation jump, 1=smallest, higher the
number, larger the jump size

Parameter 8
Attribute: Jump size for second animation sequence.
param name="jump2"
Value=X, where X is the size of the animation jump, 1=smallest, higher the
number, larger the jump size

Parameter 9
Attribute: Message Delay
param name="delay"
Value=X, where X is the delay time in milliseconds for the message. The
default is 2000 or 2 seconds.

Parameter 10
Attribute: Animation Frame Delay
param name="framedelay"
Value=X, where X is the delay time in milliseconds between animation
sequences. Default value is 0

Parameter 11
Attribute: Exiting animation zoom factor
param name="exitzoom"
Value=X, where X is the zoom factor for the exiting animation. Use 1 for no zoom.

Parameter 12
Attribute: X offset for message
param name="xoffset"
Value=X, where X is the positioning of the message after the first animation sequence from the left border of the applet.

Parameter 13
Attribute: Message
param name="desc0" - "descN"
Use "desc0" as the param name for the first line of message to be zoomed, "desc1" for the second, "desc2" for the third... you may use as many messages as you wish!

Parameter 14
Attribute: Custom Line Colors
param name="textcolor0", "textcolorX"
use "textcolor0" to define a custom color for the first line of text, "textcolor1" for the second line, so forth and so on. You may define a custom color for each individual line, if you do not define a custom color for a given line the default color defined by "textcolor" (see parameter 3) is used.
Value=r,g,b where r,g,b represents the red, green and blue components of the color as described above.

Parameter 15
Attribute: Destination Link URL
param name="desturl"
Value=X, where X is the complete URL to load when the applet is clicked (e.g. http://www.opencube.com)

Parameter 16
Attribute: Load Destination URL Where?
param name="loadwhere"
The "loadwhere" tag specifies where the document specified in the "desturl" tag should be loaded. The default is "_self"

"_self" show in the current frame
"_parent" show in the parent frame
"_top" show in the top-most frame
"_blank" show in a new unnamed top-level window
name show in a new top-level window named name


Zooming Messages � 1996, OpenCube Technologies