OpenCube Technologies Smooth Scroll Up



Class File Name: AJAScrollup.class
Class File Size: 7K
Notice Tag: Smooth Scroll Up v1, Copyright (c) 1997 OpenCube Technologies. All Rights Reserved.

 

Below is a list of the parameters that may be used to customize the Smooth Scroll applet...

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 work correctly. 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="Smooth Scroll Up, (c) 1997 OpenCube Technologies Registered 5182"
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.

Parameter 4
Attribute: Highlight Color
param name="highlightcolor"
Value=r,g,b where r,g,b represents the red, green and blue components of
the color as described above.
Note: This is the highlight color of all lines of text if a link is specified.

Parameter 5
Attribute: Bold
param name="bold"
Value=0 or 1, 1=yes bold, 0=no bold

Parameter 6
Attribute: Center Text
param name="centeredtext"
Value=0 or 1, 1=yes center text, 0=no left justify text

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

Parameter 8
Attribute: Font Size
param name="size"
Value=X, where X is the size of the message font

Parameter 9
Attribute: Jump size
param name="jump"
Value=X, where X is the size of the animation jump, 1=smallest, higher the
number, larger the jump size

Parameter 10
Attribute: Speed
param name="speed"
Value=X, where X is the speed of the scrolling message, 1 = fast - higher the
number, faster the scroll, usually 5 - 15 works well.

Parameter 11
Attribute: Message
param name="desc0" - "descN"
Use "desc0" as the param name for the first line of text to be scrolled, "desc1" for the second, "desc2" for the third... you may use as many lines as you wish! value=X, where X is the message for the given line, make shore your message is shorter than the width of the applet or its shore to get cut up.

Parameter 12
Attribute: Number of Message Lines
param name="numberoflines"
value=X, where x is the number of message lines to scroll, for example if you use, as above, "desc0" = "hello world" and "desc1" = "Welcome to my web page" then numberoflines would = 2

Parameter 13
Attribute: Link URL
param name="dest0", "destX"
Use "dest0" to activate linking capabilities for the first line of text, "dest2" for the second line, so forth and so on. You may jump around and include links only where needed. For example "dest3" = "http://www.opencube.com", "dest32" = "http://www.opencube.com/software.htm"
value=X, where X is the complete URL to link to, such as http://www.opencube.com

Parameter 14
Attribute: Custom Line Colors
param name="textcolor0", "textcolorX"
use "textcolor0" to define a custom color for the first line of text, "dest1" 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: 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


Smooth Scroll Up, � 1996, OpenCube Technologies