Applet: uShopCart3

Description:
The uShopCart3 applet is a version of the shopping cart applet that displays only the subtotal, total, or total product count.

Example:


<APPLET CODE="uShopCart3.class" CODEBASE="../classes/" WIDTH=70 HEIGHT=20>
<PARAM NAME="display"                    VALUE="SUBTOTAL">
<PARAM NAME="font_size"                  VALUE="12">
<PARAM NAME="font"                       VALUE="Arial">
<PARAM NAME="text_color"                 VALUE="#000000">
<PARAM NAME="background_color"           VALUE="#B3D9FF">
</APPLET>


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.
display This parameter allows you to specify the value-type that will be displayed. Valid values are "SUBTOTAL", "TOTAL", or "QUANTITY". The default value is "SUBTOTAL".
font_size This parameter allows you to specify the size of the font that will be used when displaying the value.
font This parameter allows you to specify the name of the font that will be used when displaying the value. You can use any standard font such as "Arial" or "Courier".
text_color This parameter allows you to specify the color of the text that will be used when displaying the value. This value can be specified as any RGB value such as "#000000" or as one of the keyword colors such as "black". See color parameter format for more information on colors.
background_color The applet's background color. This value can be specified as any RGB value such as "#FFFFFF" or as one of the keyword colors such as "white". See color parameter format for more information on colors.