Parameters:
Name
|
Description
|
codebase |
This parameter is actually part of the <APPLET> tag and therefore
should be specified on the first line of the Applet (see example). It
allows you to specify the location of this applet's class file.
The recommended value is "../classes/".
See codebase
for more information.
|
discount_table |
The discount table that will be applied. The format of this
table is subtotal1=discount1, subtotal2=discount2, and so on...
where each subtotal=discount combination is separated by
a comma. Note that the "subtotal" values should be in
increasing order and the "discount" values should be
specified as percents. As an example, suppose you want to
setup the following discount table:
10% discount if the subtotal is greater than $100
15% discount if the subtotal is greater than $200
20% discount if the subtotal is greater than $300
To do this, you would set the "discount_table" to:
"$100=10%,$200=15%,$300=20%"
|
image |
This parameter allows you to specify the image that the
applet will appear as. Note that due to the security
restrictions built into IE, when loading any image by an
applet, the image must be located in the same directory as
the applet's class file. So be sure that the image that you
specify here is located in your "classes" directory.
Note that for this applet, you do not have to specify any
image at all here - but rather, you can make this applet
virtually invisible by setting the WIDTH and HEIGHT to 2 x 2.
|
link |
If desired, this parameter allows you to make this applet
a link to any other page. This is sometimes desireable if
the applet is on a special "Enter Store" page - in which case,
you can make this applet a link to a page inside your store.
The format of this parameter is simply the name (and relative
path) to the page that you want to link to. If you do not want
this applet to be a link, simply leave this parameter blank
or set it to "NONE".
|
target |
If this applet is also configured to be a link, then this
parameter allows you to specify the "target" page for the link.
The default value of this parameter is "".
|
|
|