uShopInputImage1_fr.class
The uShopInputImage1 applet allows you to display multiple
products with a single applet. You can specify different product
ids, names, prices and even specify an image for each product.
In addition, the applet provides one option list on one quantity
entry box. Note: To use this applet, you must also have placed the
uShopImagePanel_fr.class in the same directory.
Parameters
- title - This is the text that appears at the top of the applet next
to the image navigation buttons.
- products - This parameter specifies the list of products to be available
with this applet. For each product you must specify: id,
name, weight, price, image, and description - Each separated
by commas. The image should be specified as relative to the
directory. The description can be as long you want. Just
Do not use commas in the description. This is because
the commas indicate the start of the next product. See
the example below to get an illustration of the format.
- option1 - A list of options from which the customer can choose when
ordering the product. You can specify as many options in
the list as you like, but each option must be separated by
a comma. (ie. "optionA,optionB,optionC,optionD"). Each option
can be up to 13 characters.
- framecolor - The color of top and lower frame of the applet. You can
specify an RGB value separated by commas ("integer, integer,
integer" where each integer is a value between 0 and 255) or
specify one of the predefined colors: white, black, lightGray,
gray, darkGray, red, green, blue, yellow, magenta, cyan, pink,
and orange. The default value is "lightGray".
- textcolor - The color of the text next to the image. You can specify an
RGB value separated by commas ("integer,integer,integer" where
each integer is a value between 0 and 255) or specify one of
the predefined colors: white, black, lightGray, gray, darkGray,
red, green, blue, yellow, magenta, cyan, pink, and orange. The
default value is "white".
- background - The background color of the applet. You can specify an
RGB value separated by commas ("integer,integer,integer" where
each integer is a value between 0 and 255) or specify one of
the predefined colors: white, black, lightGray, gray, darkGray,
red, green, blue, yellow, magenta, cyan, pink, and orange. The
default value is "white".
- popupwindow - This parameter lets you specify whether you want a pop-up window
to be displayed each time an item is added to the shopping cart. This
pop-up window is useful if the store does not use FRAMES and does not
always display the shopping cart. Set this parameter to "YES" if you
want the pop-up window displayed.
Note: Optional parameters are in italics
Example
<APPLET CODE = "uShopInputImage1_fr.class" WIDTH=450 HEIGHT=300>
<PARAM NAME=title VALUE="Statues">
<PARAM NAME=products VALUE="P00001,Statue,0,Fr82.25,product_image1.gif,Hand-crafted; Made of porcelain.,
P00002,Statue,0,Fr69.95,product_image2.gif,Our most popular statue and very reasonably priced!,
P00003,Statue,0,Fr129.99,product_image3.gif,You can use as much text as you want to describe each product.">
<PARAM NAME=option1 VALUE="white,black">
<PARAM NAME=framecolor VALUE="lightGray">
<PARAM NAME=textcolor VALUE="white">
<PARAM NAME=background VALUE="darkGray">
<PARAM NAME=popupwindow VALUE="NO">
</APPLET>